public function DiscoveryTrait::hasDefinition in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php \Drupal\Component\Plugin\Discovery\DiscoveryTrait::hasDefinition()
File
- lib/
Drupal/ Component/ Plugin/ Discovery/ DiscoveryTrait.php, line 63 - Contains \Drupal\Component\Plugin\Discovery\DiscoveryTrait.
Class
Namespace
Drupal\Component\Plugin\DiscoveryCode
public function hasDefinition($plugin_id) {
return (bool) $this
->getDefinition($plugin_id, FALSE);
}