public ConfigSchemaDiscovery::getDefinitions()
Gets the definition of all plugins for this type.
mixed[] An array of plugin definitions (empty array if no definitions were found). Keys are plugin IDs.
Overrides DiscoveryTrait::getDefinitions
public function getDefinitions() { $definitions = array(); foreach ($this->schemaStorage->readMultiple($this->schemaStorage->listAll()) as $schema) { foreach ($schema as $type => $definition) { $definitions[$type] = $definition; } } return $definitions; }
© 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!ConfigSchemaDiscovery.php/function/ConfigSchemaDiscovery::getDefinitions/8.1.x