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

Breadcrumb

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

function Sequence::getElementDefinition

Overrides ArrayElement::getElementDefinition

File

core/lib/Drupal/Core/Config/Schema/Sequence.php, line 25

Class

Sequence
Defines a configuration element of type Sequence.

Namespace

Drupal\Core\Config\Schema

Code

protected function getElementDefinition($key) {
    $value = $this->value[$key] ?? NULL;
    $definition = [];
    if ($this->definition['sequence']) {
        $definition = $this->definition['sequence'];
    }
    return $this->buildDataDefinition($definition, $value, $key);
}

API Navigation

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