Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Other projects
Title Object type File name Summary
Attribute::getIterator function core/lib/Drupal/Core/Template/Attribute.php
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.
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
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::$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::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::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
AttributeBaseStub class core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php
AttributeBaseTest class core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php @coversDefaultClass \Drupal\Component\Plugin\Attribute\AttributeBase
@group Attribute
AttributeBaseTest.php file core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php
AttributeBaseTest::testGetId function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php @covers ::getId
AttributeBaseTest::testSetClass function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php @covers ::getClass
@covers ::setClass
AttributeBaseTest::testSetProvider function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php @covers ::getProvider
@covers ::setProvider
AttributeBoolean class core/lib/Drupal/Core/Template/AttributeBoolean.php A class that defines a type of boolean HTML attribute.
AttributeBoolean.php file core/lib/Drupal/Core/Template/AttributeBoolean.php
AttributeBoolean::render function core/lib/Drupal/Core/Template/AttributeBoolean.php Returns a string representation of the attribute.
AttributeBoolean::__toString function core/lib/Drupal/Core/Template/AttributeBoolean.php Implements the magic __toString() method.
AttributeBridgeDecorator class core/lib/Drupal/Component/Plugin/Discovery/AttributeBridgeDecorator.php Ensures that all definitions are run through the attribute process.
AttributeBridgeDecorator.php file core/lib/Drupal/Component/Plugin/Discovery/AttributeBridgeDecorator.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.