public function MapperInterface::getInstance

Returns 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 A fully configured plugin instance. The interface of the plugin instance will depends on the plugin type.

1 method overrides MapperInterface::getInstance()

File

drupal/core/lib/Drupal/Component/Plugin/Mapper/MapperInterface.php, line 31
Definition of Drupal\Component\Plugin\Mapper\MapperInterface.

Class

MapperInterface
Plugin mapper interface.

Namespace

Drupal\Component\Plugin\Mapper

Code

public function getInstance(array $options);