| Attribute::$required |
property |
core/lib/Drupal/Component/Annotation/Doctrine/Annotation/Attribute.php |
@var bool |
| Attribute::$storage |
property |
core/lib/Drupal/Core/Template/Attribute.php |
Stores the attribute data. |
| Attribute::$type |
property |
core/lib/Drupal/Component/Annotation/Doctrine/Annotation/Attribute.php |
@var string |
| Attribute::addClass |
function |
core/lib/Drupal/Core/Template/Attribute.php |
Adds classes or merges them on to array of existing CSS classes. |
| Attribute::createAttributeValue |
function |
core/lib/Drupal/Core/Template/Attribute.php |
Creates the different types of attribute values. |
| Attribute::getClass |
function |
core/lib/Drupal/Core/Template/Attribute.php |
Gets the class attribute value if set. |
| Attribute::getIterator |
function |
core/lib/Drupal/Core/Template/Attribute.php |
Retrieves the iterator for the object. |
| Attribute::hasAttribute |
function |
core/lib/Drupal/Core/Template/Attribute.php |
Checks if the storage has an attribute with the given name. |
| Attribute::hasClass |
function |
core/lib/Drupal/Core/Template/Attribute.php |
Checks if the class array has the given CSS class. |
| Attribute::jsonSerialize |
function |
core/lib/Drupal/Core/Template/Attribute.php |
Returns a representation of the object for use in JSON serialization. |
| Attribute::merge |
function |
core/lib/Drupal/Core/Template/Attribute.php |
Merges an Attribute object into the current storage. |
| Attribute::offsetExists |
function |
core/lib/Drupal/Core/Template/Attribute.php |
|
| Attribute::offsetGet |
function |
core/lib/Drupal/Core/Template/Attribute.php |
|
| Attribute::offsetSet |
function |
core/lib/Drupal/Core/Template/Attribute.php |
|
| Attribute::offsetUnset |
function |
core/lib/Drupal/Core/Template/Attribute.php |
|
| Attribute::removeAttribute |
function |
core/lib/Drupal/Core/Template/Attribute.php |
Removes an attribute from an Attribute object. |
| Attribute::removeClass |
function |
core/lib/Drupal/Core/Template/Attribute.php |
Removes argument values from array of existing CSS classes. |
| Attribute::setAttribute |
function |
core/lib/Drupal/Core/Template/Attribute.php |
Sets values for an attribute key. |
| Attribute::storage |
function |
core/lib/Drupal/Core/Template/Attribute.php |
Returns the whole array. |
| Attribute::toArray |
function |
core/lib/Drupal/Core/Template/Attribute.php |
Returns all storage elements as an array. |
| Attribute::__clone |
function |
core/lib/Drupal/Core/Template/Attribute.php |
Implements the magic __clone() method. |
| Attribute::__construct |
function |
core/lib/Drupal/Core/Template/Attribute.php |
Constructs a \Drupal\Core\Template\Attribute object. |
| Attribute::__toString |
function |
core/lib/Drupal/Core/Template/Attribute.php |
Implements the magic __toString() method. |
| AttributeAllowTestClass |
class |
core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php |
Test class for TwigAllowed attribute. |
| AttributeAllowTestClass::allowed |
function |
core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php |
#[TwigAllowed] |
| AttributeAllowTestClass::notAllowed |
function |
core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php |
|
| AttributeArray |
class |
core/lib/Drupal/Core/Template/AttributeArray.php |
A class that defines a type of Attribute that can be added to as an array. |
| AttributeArray.php |
file |
core/lib/Drupal/Core/Template/AttributeArray.php |
|
| AttributeArray::exchangeArray |
function |
core/lib/Drupal/Core/Template/AttributeArray.php |
Exchange the array for another one. |
| AttributeArray::getIterator |
function |
core/lib/Drupal/Core/Template/AttributeArray.php |
Retrieves the iterator for the object. |
| AttributeArray::offsetExists |
function |
core/lib/Drupal/Core/Template/AttributeArray.php |
|
| AttributeArray::offsetGet |
function |
core/lib/Drupal/Core/Template/AttributeArray.php |
|
| AttributeArray::offsetSet |
function |
core/lib/Drupal/Core/Template/AttributeArray.php |
|
| AttributeArray::offsetUnset |
function |
core/lib/Drupal/Core/Template/AttributeArray.php |
|
| AttributeArray::RENDER_EMPTY_ATTRIBUTE |
constant |
core/lib/Drupal/Core/Template/AttributeArray.php |
Ensures empty array as a result of array_filter will not print '$name=""'. |
| AttributeArray::__toString |
function |
core/lib/Drupal/Core/Template/AttributeArray.php |
Implements the magic __toString() method. |
| AttributeBase |
class |
core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php |
Provides a base class for classed attributes. |
| AttributeBase.php |
file |
core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php |
|
| AttributeBase::$class |
property |
core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php |
The class used for this attribute class. |
| AttributeBase::$dependencies |
property |
core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php |
The dependencies for the attribute class. |
| AttributeBase::$provider |
property |
core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php |
The provider of the attribute class. |
| AttributeBase::get |
function |
core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php |
Gets the value of an attribute. |
| AttributeBase::getClass |
function |
core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php |
Gets the class of the attribute class. |
| AttributeBase::getDependencies |
function |
core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php |
Gets the dependencies for this attribute class. |
| AttributeBase::getId |
function |
core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php |
Gets the unique ID for this attribute class. |
| AttributeBase::getProvider |
function |
core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php |
Gets the name of the provider of the attribute class. |
| AttributeBase::setClass |
function |
core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php |
Sets the class of the attributed class. |
| AttributeBase::setDependencies |
function |
core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php |
Sets the dependencies for this attribute class. |
| AttributeBase::setProvider |
function |
core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php |
Sets the name of the provider of the attribute class. |
| AttributeBase::__construct |
function |
core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php |
|