You are here

public function FieldTypePluginManagerDummy::hasDefinition in Entity Construction Kit (ECK) 8

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 DiscoveryInterface::hasDefinition

File

tests/src/Unit/TestDoubles/FieldTypePluginManagerDummy.php, line 52

Class

FieldTypePluginManagerDummy
Dummy implementation of FieldTypePluginManagerInterface.

Namespace

Drupal\Tests\eck\Unit\TestDoubles

Code

public function hasDefinition($plugin_id) {

  // Stub.
}