Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MapperInterface.php

function MapperInterface::getInstance

Gets or creates a plugin instance that satisfies the given options.

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.

File

core/lib/Drupal/Component/Plugin/Mapper/MapperInterface.php, line 28

Class

MapperInterface
Plugin mapper interface.

Namespace

Drupal\Component\Plugin\Mapper

Code

public function getInstance(array $options);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal