public function DiscoveryTrait::hasDefinition in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php \Drupal\Component\Plugin\Discovery\DiscoveryTrait::hasDefinition()
1 call to DiscoveryTrait::hasDefinition()
- MigrationPluginManager::expandPluginIds in core/
modules/ migrate/ src/ Plugin/ MigrationPluginManager.php - Expand derivative migration dependencies.
File
- core/
lib/ Drupal/ Component/ Plugin/ Discovery/ DiscoveryTrait.php, line 59
Class
Namespace
Drupal\Component\Plugin\DiscoveryCode
public function hasDefinition($plugin_id) {
return (bool) $this
->getDefinition($plugin_id, FALSE);
}