The plugin is enhancement for your Drupal development experience.
-
Autocomplete for Content/Config Entities Storage (eck support)
-
Fields autocomplete (default configuration directory points to the
config/sync
directory, you can change it inside plugin settings. Settings -> PHP -> Drupal Extend) -
Field properties autocomplete e.g.
$node->get('field_user')->en|
it will autocomplete entity in this case. -
Entity Type Provider for
$storage->load/loadMultiple/loadByProperties
-
Type Provider for static
Node::load/create/loadMultiple
methods -
Type Provider for
\Drupal::service('')
-
Render element type and theme highlight (Annotator)
-
Fields autocomplete in content entity queries and entity storages autocomplete in
\Drupal::entityQuery()
-
Using the IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "drupal-extend" > Install
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
- Entity type resolver has a chance to not work 10-20% of time if you are using
.phpstorm.meta.php
generated viadrush generate-metadata
. Plugin provides all features from that file, so you can safely delete it.