You are here

public function ArrayPluginDefinitionDecorator::offsetExists in Plugin 8.2

File

src/PluginDefinition/ArrayPluginDefinitionDecorator.php, line 290

Class

ArrayPluginDefinitionDecorator
Provides a plugin definition based on an array.

Namespace

Drupal\plugin\PluginDefinition

Code

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