You are here

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

Gets the definition of all plugins for this type.

Return value

mixed[] An array of plugin definitions (empty array if no definitions were found). Keys are plugin IDs.

Overrides DiscoveryInterface::getDefinitions

See also

\Drupal\Core\Plugin\FilteredPluginManagerInterface::getFilteredDefinitions()

File

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

Class

FieldTypePluginManagerDummy
Dummy implementation of FieldTypePluginManagerInterface.

Namespace

Drupal\Tests\eck\Unit\TestDoubles

Code

public function getDefinitions() {

  // Stub.
}