You are here

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

Gets a preconfigured instance of a plugin.

Parameters

array $options: An array of options that can be used to determine a suitable plugin to instantiate and how to configure it.

Return value

object|false A fully configured plugin instance. The interface of the plugin instance will depend on the plugin type. If no instance can be retrieved, FALSE will be returned.

Overrides MapperInterface::getInstance

File

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

Class

FieldTypePluginManagerDummy
Dummy implementation of FieldTypePluginManagerInterface.

Namespace

Drupal\Tests\eck\Unit\TestDoubles

Code

public function getInstance(array $options) {

  // Stub.
}