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::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 Tests Drupal\Component\Plugin\Attribute\AttributeBase.
AttributeBaseTest.php file core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php
AttributeBaseTest::testGetId function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php @legacy-covers ::getId
AttributeBaseTest::testSetClass function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php @legacy-covers ::getClass
@legacy-covers ::setClass
AttributeBaseTest::testSetProvider function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php @legacy-covers ::getProvider
@legacy-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
AttributeBridgeDecorator::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/AttributeBridgeDecorator.php Gets the definition of all plugins for this type.
AttributeBridgeDecorator::__call function core/lib/Drupal/Component/Plugin/Discovery/AttributeBridgeDecorator.php Passes through all unknown calls onto the decorated object.
AttributeBridgeDecorator::__construct function core/lib/Drupal/Component/Plugin/Discovery/AttributeBridgeDecorator.php AttributeBridgeDecorator constructor.
AttributeBridgeDecoratorTest class core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php Tests Drupal\Component\Annotation\Plugin\Discovery\AnnotationBridgeDecorator.
AttributeBridgeDecoratorTest.php file core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php
AttributeBridgeDecoratorTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php @legacy-covers ::getDefinitions
AttributeBridgeDecoratorTest::testOtherMethod function core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php Tests that the decorator of other methods works.
AttributeClass class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Attribute/AttributeClass.php #[\Attribute]
AttributeClass.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Attribute/AttributeClass.php

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