PreExistingConfigException::getConfigObjects

public PreExistingConfigException::getConfigObjects() Gets the list of configuration objects that already exist. Return value array A list of configuration objects that already exist in active configuration keyed by collection. File core/lib/Drupal/Core/Config/PreExistingConfigException.php, line 33 Class PreExistingConfigException An exception thrown if configuration with the same name already exists. Namespace Drupal\Core\Config Code public function getConfigObjects() { return $th

PreExistingConfigException::flattenConfigObjects

public static PreExistingConfigException::flattenConfigObjects(array $config_objects) Flattens the config object array to a single dimensional list. Parameters array $config_objects: A list of configuration objects that already exist in active configuration, keyed by config collection. Return value array A list of configuration objects that have been prefixed with their collection. File core/lib/Drupal/Core/Config/PreExistingConfigException.php, line 82 Class PreExistingConfigException A

PreExistingConfigException::create

public static PreExistingConfigException::create($extension, array $config_objects) Creates an exception for an extension and a list of configuration objects. Parameters $extension: The name of the extension that is being installed. array $config_objects: A list of configuration objects that already exist in active configuration, keyed by config collection. Return value \Drupal\Core\Config\PreExistingConfigException File core/lib/Drupal/Core/Config/PreExistingConfigException.php, line 58 C

PreExistingConfigException::$extension

The name of the module that is being installed. Type: string File core/lib/Drupal/Core/Config/PreExistingConfigException.php, line 24 Class PreExistingConfigException An exception thrown if configuration with the same name already exists. Namespace Drupal\Core\Config Code protected $extension;

PreExistingConfigException::$configObjects

A list of configuration objects that already exist in active configuration. Type: array File core/lib/Drupal/Core/Config/PreExistingConfigException.php, line 17 Class PreExistingConfigException An exception thrown if configuration with the same name already exists. Namespace Drupal\Core\Config Code protected $configObjects = [];

PreExistingConfigException

An exception thrown if configuration with the same name already exists. Hierarchy class \Drupal\Core\Config\ConfigException extends \RuntimeExceptionclass \Drupal\Core\Config\PreExistingConfigException File core/lib/Drupal/Core/Config/PreExistingConfigException.php, line 10 Namespace Drupal\Core\Config Members Name Modifiers Type Description PreExistingConfigException::$configObjects protected property A list of configuration objects that already exist in active configu

PoWriterInterface::writeItems

public PoWriterInterface::writeItems(PoReaderInterface $reader, $count = -1) Writes all or the given amount of items. Parameters PoReaderInterface $reader: Reader to read PoItems from. $count: Amount of items to read from $reader to write. If -1, all items are read from $reader. File core/lib/Drupal/Component/Gettext/PoWriterInterface.php, line 27 Class PoWriterInterface Shared interface definition for all Gettext PO Writers. Namespace Drupal\Component\Gettext Code public function wri

PoWriterInterface::writeItem

public PoWriterInterface::writeItem(PoItem $item) Writes the given item. Parameters PoItem $item: One specific item to write. File core/lib/Drupal/Component/Gettext/PoWriterInterface.php, line 16 Class PoWriterInterface Shared interface definition for all Gettext PO Writers. Namespace Drupal\Component\Gettext Code public function writeItem(PoItem $item);

PoWriterInterface

Shared interface definition for all Gettext PO Writers. Hierarchy interface \Drupal\Component\Gettext\PoMetadataInterfaceinterface \Drupal\Component\Gettext\PoWriterInterface File core/lib/Drupal/Component/Gettext/PoWriterInterface.php, line 8 Namespace Drupal\Component\Gettext Members Name Modifiers Type Description PoMetadataInterface::getHeader public function Get header metadata. PoMetadataInterface::getLangcode public function Get language code. PoMetadat

PoStreamWriter::writeItems

public PoStreamWriter::writeItems(PoReaderInterface $reader, $count = -1) Writes all or the given amount of items. Parameters PoReaderInterface $reader: Reader to read PoItems from. $count: Amount of items to read from $reader to write. If -1, all items are read from $reader. Overrides PoWriterInterface::writeItems File core/lib/Drupal/Component/Gettext/PoStreamWriter.php, line 130 Class PoStreamWriter Defines a Gettext PO stream writer. Namespace Drupal\Component\Gettext Code public