AssetCollectionOptimizerInterface

Interface defining a service that optimizes a collection of assets. Hierarchy interface \Drupal\Core\Asset\AssetCollectionOptimizerInterface File core/lib/Drupal/Core/Asset/AssetCollectionOptimizerInterface.php, line 8 Namespace Drupal\Core\Asset Members Name Modifiers Type Description AssetCollectionOptimizerInterface::deleteAll public function Deletes all optimized asset collections assets. AssetCollectionOptimizerInterface::getAll public function Returns all o

AssetCollectionGrouperInterface::group

public AssetCollectionGrouperInterface::group(array $assets) Groups a collection of assets into logical groups of asset collections. Parameters array $assets: An asset collection. Return value array A sorted array of asset groups. File core/lib/Drupal/Core/Asset/AssetCollectionGrouperInterface.php, line 19 Class AssetCollectionGrouperInterface Interface defining a service that logically groups a collection of assets. Namespace Drupal\Core\Asset Code public function group(array $asset

AssetCollectionGrouperInterface

Interface defining a service that logically groups a collection of assets. Hierarchy interface \Drupal\Core\Asset\AssetCollectionGrouperInterface File core/lib/Drupal/Core/Asset/AssetCollectionGrouperInterface.php, line 8 Namespace Drupal\Core\Asset Members Name Modifiers Type Description AssetCollectionGrouperInterface::group public function Groups a collection of assets into logical groups of asset collections.

ArrayElement::toArray

public ArrayElement::toArray() Returns an array of all property values. Return value array An array of property values, keyed by property name. Overrides TypedConfigInterface::toArray File core/lib/Drupal/Core/Config/Schema/ArrayElement.php, line 98 Class ArrayElement Defines a generic configuration element that contains multiple properties. Namespace Drupal\Core\Config\Schema Code public function toArray() { return isset($this->value) ? $this->value : array(); }

ArrayElement::parse

protected ArrayElement::parse() Builds an array of contained elements. Return value \Drupal\Core\TypedData\TypedDataInterface[] An array of elements contained in this element. File core/lib/Drupal/Core/Config/Schema/ArrayElement.php, line 31 Class ArrayElement Defines a generic configuration element that contains multiple properties. Namespace Drupal\Core\Config\Schema Code protected function parse() { $elements = array(); foreach ($this->getAllKeys() as $key) { $value = is

ArrayElement::onChange

public ArrayElement::onChange($name) React to changes to a child property or item. Note that this is invoked after any changes have been applied. Parameters $name: The name of the property or the delta of the list item which is changed. Overrides TraversableTypedDataInterface::onChange File core/lib/Drupal/Core/Config/Schema/ArrayElement.php, line 105 Class ArrayElement Defines a generic configuration element that contains multiple properties. Namespace Drupal\Core\Config\Schema Code

ArrayElement::isNullable

public ArrayElement::isNullable() Determines if this element allows NULL as a value. Return value bool TRUE if NULL is a valid value, FALSE otherwise. File core/lib/Drupal/Core/Config/Schema/ArrayElement.php, line 160 Class ArrayElement Defines a generic configuration element that contains multiple properties. Namespace Drupal\Core\Config\Schema Code public function isNullable() { return isset($this->definition['nullable']) && $this->definition['nullable'] == TRUE; }

ArrayElement::isEmpty

public ArrayElement::isEmpty() Determines whether the data structure is empty. Return value bool TRUE if the data structure is empty, FALSE otherwise. Overrides TypedConfigInterface::isEmpty File core/lib/Drupal/Core/Config/Schema/ArrayElement.php, line 91 Class ArrayElement Defines a generic configuration element that contains multiple properties. Namespace Drupal\Core\Config\Schema Code public function isEmpty() { return empty($this->value); }

ArrayElement::getIterator

public ArrayElement::getIterator() File core/lib/Drupal/Core/Config/Schema/ArrayElement.php, line 115 Class ArrayElement Defines a generic configuration element that contains multiple properties. Namespace Drupal\Core\Config\Schema Code public function getIterator() { return new \ArrayIterator($this->getElements()); }

ArrayElement::getElements

public ArrayElement::getElements() Gets an array of contained elements. Return value array Array of \Drupal\Core\TypedData\TypedDataInterface objects. Overrides TypedConfigInterface::getElements File core/lib/Drupal/Core/Config/Schema/ArrayElement.php, line 81 Class ArrayElement Defines a generic configuration element that contains multiple properties. Namespace Drupal\Core\Config\Schema Code public function getElements() { if (!isset($this->elements)) { $this->elements =