W3cubDocs

/Drupal 8

public function TypedConfigInterface::get

public TypedConfigInterface::get($name)

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.

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);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!Schema!TypedConfigInterface.php/function/TypedConfigInterface::get/8.1.x