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
AttributeString::__toString function core/lib/Drupal/Core/Template/AttributeString.php Implements the magic __toString() method.
AttributeTest class core/tests/Drupal/Tests/Core/Template/AttributeTest.php @coversDefaultClass \Drupal\Core\Template\Attribute[[api-linebreak]]
@group Template
AttributeTest.php file core/tests/Drupal/Tests/Core/Template/AttributeTest.php
AttributeTest::assertClass function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Checks that the given CSS class is present in the given HTML snippet.
AttributeTest::assertID function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Checks that the given CSS ID is present in the given HTML snippet.
AttributeTest::assertNoClass function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Checks that the given CSS class is not present in the given HTML snippet.
AttributeTest::assertNoID function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Checks that the given CSS ID is not present in the given HTML snippet.
AttributeTest::getXPathResultCount function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Counts the occurrences of the given XPath query in a given HTML snippet.
AttributeTest::providerTestAttributeClassHelpers function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Provides tests data for testEscaping.
AttributeTest::providerTestAttributeValues function core/tests/Drupal/Tests/Core/Template/AttributeTest.php
AttributeTest::providerTestHasAttribute function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Provides tests data for testHasAttribute.
AttributeTest::providerTestMerge function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Provides tests data for testMerge.
AttributeTest::testAdd function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests adding new values to an existing part of the attribute.
AttributeTest::testAddClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests adding class attributes with the AttributeArray helper method.
@covers ::addClass[[api-linebreak]]
AttributeTest::testAttributeValues function core/tests/Drupal/Tests/Core/Template/AttributeTest.php @covers ::createAttributeValue[[api-linebreak]]
@dataProvider providerTestAttributeValues
AttributeTest::testChainAddRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests removing class attributes with the Attribute helper methods.
@covers ::removeClass[[api-linebreak]]
@covers ::addClass[[api-linebreak]]
AttributeTest::testConstructor function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests the constructor of the attribute class.
AttributeTest::testHasAttribute function core/tests/Drupal/Tests/Core/Template/AttributeTest.php @covers ::hasAttribute[[api-linebreak]]
@dataProvider providerTestHasAttribute
AttributeTest::testHasClass function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests checking for class names with the Attribute method.
@covers ::hasClass[[api-linebreak]]
AttributeTest::testIterate function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests iterating on the values of the attribute.
AttributeTest::testMerge function core/tests/Drupal/Tests/Core/Template/AttributeTest.php @covers ::merge[[api-linebreak]]
@dataProvider providerTestMerge
AttributeTest::testMergeArgumentException function core/tests/Drupal/Tests/Core/Template/AttributeTest.php @covers ::merge[[api-linebreak]]
AttributeTest::testPrint function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests printing of an attribute.
AttributeTest::testRemove function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests removing of values.
AttributeTest::testRemoveAttribute function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests removing attributes.
@covers ::removeAttribute[[api-linebreak]]
AttributeTest::testRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests removing class attributes with the AttributeArray helper method.
@covers ::removeClass[[api-linebreak]]
AttributeTest::testSet function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests set of values.
AttributeTest::testSetAttribute function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests setting attributes.
@covers ::setAttribute[[api-linebreak]]
AttributeTest::testStorage function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests the storage method.
AttributeTest::testTwigAddRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests the twig calls to the Attribute.
@dataProvider providerTestAttributeClassHelpers
AttributeValueBase class core/lib/Drupal/Core/Template/AttributeValueBase.php Defines the base class for an attribute type.
AttributeValueBase.php file core/lib/Drupal/Core/Template/AttributeValueBase.php
AttributeValueBase::$name property core/lib/Drupal/Core/Template/AttributeValueBase.php The name of the value.
AttributeValueBase::$value property core/lib/Drupal/Core/Template/AttributeValueBase.php The value itself.
AttributeValueBase::render function core/lib/Drupal/Core/Template/AttributeValueBase.php Returns a string representation of the attribute.
AttributeValueBase::RENDER_EMPTY_ATTRIBUTE constant core/lib/Drupal/Core/Template/AttributeValueBase.php Renders '$name=""' if $value is an empty string.
AttributeValueBase::value function core/lib/Drupal/Core/Template/AttributeValueBase.php Returns the raw value.
AttributeValueBase::__construct function core/lib/Drupal/Core/Template/AttributeValueBase.php Constructs a \Drupal\Core\Template\AttributeValueBase object.
AttributeValueBase::__toString function core/lib/Drupal/Core/Template/AttributeValueBase.php Implements the magic __toString() method.
AttributeXss class core/modules/link/src/AttributeXss.php Defines a class for attribute XSS filtering.
AttributeXss.php file core/modules/link/src/AttributeXss.php
AttributeXss::attributes function core/modules/link/src/AttributeXss.php Filters attributes.
AttributeXss::sanitizeAttributes function core/modules/link/src/AttributeXss.php Sanitizes attributes.
AudioFile class core/modules/media/src/Plugin/media/Source/AudioFile.php Media source wrapping around an audio file.
AudioFile.php file core/modules/media/src/Plugin/media/Source/AudioFile.php
AudioFile::createSourceField function core/modules/media/src/Plugin/media/Source/AudioFile.php Creates the source field definition for a type.
AudioFile::prepareViewDisplay function core/modules/media/src/Plugin/media/Source/AudioFile.php Prepares the media type fields for this source in the view display.
AuditException class core/modules/migrate/src/Audit/AuditException.php Defines an exception to throw if an error occurs during a migration audit.
AuditException.php file core/modules/migrate/src/Audit/AuditException.php
AuditException::__construct function core/modules/migrate/src/Audit/AuditException.php AuditException constructor.

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