public function DiscoveryTrait::hasDefinition in Plug 7
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);
}