Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/Schema/TypedConfigInterface.php \Drupal\Core\Config\Schema\TypedConfigInterface::get()
  2. 9 core/lib/Drupal/Core/Config/Schema/TypedConfigInterface.php \Drupal\Core\Config\Schema\TypedConfigInterface::get()

Gets a contained typed configuration element.

Parameters

$name: The name of the property to get; e.g., 'title' or 'name'. Nested elements can be get using multiple dot delimited names, for example, 'page.front'.

Return value

\Drupal\Core\TypedData\TypedDataInterface The property object.

Throws

\InvalidArgumentException If an invalid property name is given.

1 method overrides TypedConfigInterface::get()
ArrayElement::get in core/lib/Drupal/Core/Config/Schema/ArrayElement.php
Gets a contained typed configuration element.

File

core/lib/Drupal/Core/Config/Schema/TypedConfigInterface.php, line 49

Class

TypedConfigInterface
Interface for a typed configuration object that contains multiple elements.

Namespace

Drupal\Core\Config\Schema

Code

public function get($name);