By admin, 27 April, 2023 Use service in the .module file with PHPStorm autocomplete /** @var \Drupal\privatemsg\PrivateMsgService $privatemsg_service */ $privatemsg_service = \Drupal::service('privatemsg.common'); Tags service phpstorm
By admin, 24 April, 2023 Debug twig with PHPStorm or VSCode using devel module Just add {{ devel_breakpoint() }} and enable debug in PHPStorm or VSCode Tags twig phpstorm vscode
By admin, 24 April, 2023 Debug twig with PHPStorm or VSCode using twig_tweak module Just add {{ drupal_breakpoint() }} and enable debug in PHPStorm or VSCode Tags twig phpstorm vscode