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 11.x for all
  5. Other projects
Title Object type File name Summary
AttachmentsInterface::getAttachments function core/lib/Drupal/Core/Render/AttachmentsInterface.php Gets this object's attached collection.
AttachmentsInterface::setAttachments function core/lib/Drupal/Core/Render/AttachmentsInterface.php Replaces this object's attached data with the provided array.
AttachmentsResponseProcessorInterface interface core/lib/Drupal/Core/Render/AttachmentsResponseProcessorInterface.php Defines an interface for processing attachments of responses that have them.
AttachmentsResponseProcessorInterface.php file core/lib/Drupal/Core/Render/AttachmentsResponseProcessorInterface.php
AttachmentsResponseProcessorInterface::processAttachments function core/lib/Drupal/Core/Render/AttachmentsResponseProcessorInterface.php Processes the attachments of a response that has attachments.
AttachmentsTestDomainObject class core/modules/system/tests/modules/early_rendering_controller_test/src/AttachmentsTestDomainObject.php
AttachmentsTestDomainObject.php file core/modules/system/tests/modules/early_rendering_controller_test/src/AttachmentsTestDomainObject.php
AttachmentsTestResponse class core/modules/system/tests/modules/early_rendering_controller_test/src/AttachmentsTestResponse.php
AttachmentsTestResponse.php file core/modules/system/tests/modules/early_rendering_controller_test/src/AttachmentsTestResponse.php
AttachmentsTrait trait core/lib/Drupal/Core/Render/AttachmentsTrait.php Provides an implementation of AttachmentsInterface.
AttachmentsTrait.php file core/lib/Drupal/Core/Render/AttachmentsTrait.php
AttachmentsTrait::$attachments property core/lib/Drupal/Core/Render/AttachmentsTrait.php The attachments for this response.
AttachmentsTrait::addAttachments function core/lib/Drupal/Core/Render/AttachmentsTrait.php
AttachmentsTrait::getAttachments function core/lib/Drupal/Core/Render/AttachmentsTrait.php
AttachmentsTrait::setAttachments function core/lib/Drupal/Core/Render/AttachmentsTrait.php
AttachmentTestFormatter class core/modules/views/tests/modules/views_test_formatter/src/Plugin/Field/FieldFormatter/AttachmentTestFormatter.php Plugin implementation of the 'number_unformatted_with_attachment' formatter.
AttachmentTestFormatter.php file core/modules/views/tests/modules/views_test_formatter/src/Plugin/Field/FieldFormatter/AttachmentTestFormatter.php
AttachmentTestFormatter::viewElements function core/modules/views/tests/modules/views_test_formatter/src/Plugin/Field/FieldFormatter/AttachmentTestFormatter.php Builds a renderable array for a field value.
Attribute class core/lib/Drupal/Core/Template/Attribute.php Collects, sanitizes, and renders HTML attributes.
Attribute.php file core/lib/Drupal/Core/Template/Attribute.php
Attribute::$storage property core/lib/Drupal/Core/Template/Attribute.php Stores the attribute data.
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 #[\ReturnTypeWillChange]
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 #[\ReturnTypeWillChange]
Attribute::offsetGet function core/lib/Drupal/Core/Template/Attribute.php #[\ReturnTypeWillChange]
Attribute::offsetSet function core/lib/Drupal/Core/Template/Attribute.php #[\ReturnTypeWillChange]
Attribute::offsetUnset function core/lib/Drupal/Core/Template/Attribute.php #[\ReturnTypeWillChange]
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 #[\ReturnTypeWillChange]
AttributeArray::offsetExists function core/lib/Drupal/Core/Template/AttributeArray.php #[\ReturnTypeWillChange]
AttributeArray::offsetGet function core/lib/Drupal/Core/Template/AttributeArray.php #[\ReturnTypeWillChange]
AttributeArray::offsetSet function core/lib/Drupal/Core/Template/AttributeArray.php #[\ReturnTypeWillChange]
AttributeArray::offsetUnset function core/lib/Drupal/Core/Template/AttributeArray.php #[\ReturnTypeWillChange]
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=""'.

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