You are here

public function EntityExtraFieldInterface::exists in Entity Extra Field 8

Same name and namespace in other branches
  1. 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\Entity

Code

public function exists($name);