You are here

public function ArrayPluginDefinitionDecorator::offsetGet in Plugin 8.2

File

src/PluginDefinition/ArrayPluginDefinitionDecorator.php, line 297

Class

ArrayPluginDefinitionDecorator
Provides a plugin definition based on an array.

Namespace

Drupal\plugin\PluginDefinition

Code

public function &offsetGet($offset) {
  return $this->arrayDefinition[$offset];
}