PHPStorm Or VSCode For Drupal Developers?
PHPStorm is a longstanding PHP IDE that has been extremely useful in the transition to OOP in Drupal 8.
PHPStorm is a longstanding PHP IDE that has been extremely useful in the transition to OOP in Drupal 8.
Find content entities with flexible queries.
Hook
$articles = \Drupal::entityQuery('node') ->condition('type', 'article') -...
You may see some snippets like this at the top of a module file:
?>
I have a view that lists required courses on a degree detail page for a school. These courses link back to a listing page, with...
Check out the codepen module for embedding code samples.
https://www.drupal.org/project/codepen
Looks like it only provides a...
Drupal coding standards.
If you create a theme hook that ends in another hook's name, it confuses the theming system.