public function EntityExtraFieldInterface::exists in Entity Extra Field 8
Same name and namespace in other branches
- 2.0.x src/Entity/EntityExtraFieldInterface.php \Drupal\entity_extra_field\Entity\EntityExtraFieldInterface::exists()
Check if entity identifier exist.
Parameters
$name: The entity machine name.
Return value
int Return TRUE if machine name exist; otherwise FALSE.
Throws
\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException
\Drupal\Component\Plugin\Exception\PluginNotFoundException
1 method overrides EntityExtraFieldInterface::exists()
- EntityExtraField::exists in src/
Entity/ EntityExtraField.php - Check if entity identifier exist.
File
- src/
Entity/ EntityExtraFieldInterface.php, line 178
Class
- EntityExtraFieldInterface
- Define entity extra field interface.
Namespace
Drupal\entity_extra_field\EntityCode
public function exists($name);