public function EntityManagerWrapper::hasDefinition in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::hasDefinition()
- 8 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::hasDefinition()
- 4.x webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::hasDefinition()
Indicates if a specific plugin definition exists.
Parameters
string $plugin_id: A plugin ID.
Return value
bool TRUE if the definition exists, FALSE otherwise.
Overrides DiscoveryTrait::hasDefinition
File
- webprofiler/
src/ Entity/ EntityManagerWrapper.php, line 146
Class
- EntityManagerWrapper
- Class EntityManagerWrapper
Namespace
Drupal\webprofiler\EntityCode
public function hasDefinition($plugin_id) {
return $this->entityManager
->hasDefinition($plugin_id);
}