AttributesTest |
class |
core/tests/Drupal/Tests/Core/Common/AttributesTest.php |
Tests the Drupal\Core\Template\Attribute functionality. |
AttributeString |
class |
core/lib/Drupal/Core/Template/AttributeString.php |
A class that represents most standard HTML attributes. |
Xss::attributes |
function |
core/lib/Drupal/Component/Utility/Xss.php |
Processes a string of HTML attributes. |
Link::$attributes |
property |
core/modules/jsonapi/src/JsonApiResource/Link.php |
The link target attributes. |
HtmlAttributesTest |
class |
core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php |
Tests attributes inserted in the 'html' and 'body' elements on the page. |
AttributesTest.php |
file |
core/tests/Drupal/Tests/Core/Common/AttributesTest.php |
|
MultipleAttributes |
class |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Attribute/MultipleAttributes.php |
|
AttributeString.php |
file |
core/lib/Drupal/Core/Template/AttributeString.php |
|
Html::$uriAttributes |
property |
core/lib/Drupal/Component/Utility/Html.php |
All attributes that may contain URIs. |
HtmlAttributesTest.php |
file |
core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php |
|
MultipleAttributes.php |
file |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Attribute/MultipleAttributes.php |
|
Element::setAttributes |
function |
core/lib/Drupal/Core/Render/Element.php |
Sets HTML attributes based on element properties. |
TestAttributesBlock.php |
file |
core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAttributesBlock.php |
|
AnnotationWithAttributes |
class |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php |
Plugin annotation
@Target("ALL")
@Attributes({
@Attribute("mixed", type = "mixed"),
@Attribute("boolean", type = "boolean"),
@Attribute("bool", type = "bool"),
@Attribute("float", … |
UrlMatcher::getAttributes |
function |
core/lib/Drupal/Core/Routing/UrlMatcher.php |
|
Link::getTargetAttributes |
function |
core/modules/jsonapi/src/JsonApiResource/Link.php |
Gets the link's target attributes. |
ImageTest::imageAttributes |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTest.php |
Provides the relevant image attributes. |
FormElement::setAttributes |
function |
core/lib/Drupal/Core/Render/Element/FormElement.php |
Sets a form element's class attribute. |
AttributeString::__toString |
function |
core/lib/Drupal/Core/Template/AttributeString.php |
Implements the magic __toString() method. |
UrlTest::testLinkAttributes |
function |
core/modules/system/tests/src/Kernel/Common/UrlTest.php |
Tests that default and custom attributes are handled correctly on links. |
TestSessionBag::$attributes |
property |
core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php |
Storage for data to save. |
HtmlAttributesTest::$modules |
property |
core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php |
Modules to enable. |
AnnotationWithAttributes.php |
file |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php |
|
RenderElement::setAttributes |
function |
core/lib/Drupal/Core/Render/Element/RenderElement.php |
Sets a form element's class attribute. |
ImageTestBase::imageAttributes |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestBase.php |
Provides the relevant image attributes. |
ElementTest::testSetAttributes |
function |
core/tests/Drupal/Tests/Core/Render/ElementTest.php |
Tests the setAttributes() method. |
SearchInterface::getAttributes |
function |
core/modules/search/src/Plugin/SearchInterface.php |
Returns the currently set attributes (from the request). |
XssTest::providerTestAttributes |
function |
core/tests/Drupal/Tests/Component/Utility/XssTest.php |
Data provider for testFilterXssAdminNotNormalized(). |
AnnotationWithAttributes::$bool |
property |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php |
|
ElementInterface::setAttributes |
function |
core/lib/Drupal/Core/Render/Element/ElementInterface.php |
Sets a form element's class attribute. |
SearchPluginBase::getAttributes |
function |
core/modules/search/src/Plugin/SearchPluginBase.php |
Returns the currently set attributes (from the request). |
RenderElementBase::setAttributes |
function |
core/lib/Drupal/Core/Render/Element/RenderElementBase.php |
Sets a form element's class attribute. |
AnnotationWithAttributes::$mixed |
property |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php |
|
AnnotationWithAttributes::$float |
property |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php |
|
AnnotationWithAttributes::$array |
property |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php |
|
AnnotationWithRequiredAttributes |
class |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php |
Plugin annotation
@Target("ALL")
@Attributes({
@Attribute("value", required = true , type = "string"),
@Attribute("annot", required = true , type =… |
PathValidator::getPathAttributes |
function |
core/lib/Drupal/Core/Path/PathValidator.php |
Gets the matched attributes for a given path. |
SpecialAttributesRouteSubscriber |
class |
core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php |
Provides a route subscriber which checks for invalid pattern variables. |
Standard::filterXssDataAttributes |
function |
core/modules/editor/src/EditorXssFilter/Standard.php |
Applies a very permissive XSS/HTML filter to data-attributes. |
AnnotationWithAttributes::$string |
property |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php |
|
AnnotationWithAttributes::getBool |
function |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php |
|
HtmlAttributesTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php |
|
UrlTest::testActiveLinkAttributes |
function |
core/modules/system/tests/src/Functional/Common/UrlTest.php |
Tests the active class in links. |
AnnotationWithAttributes::$boolean |
property |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php |
|
AnnotationWithAttributes::$integer |
property |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php |
|
AnnotationWithAttributes::getMixed |
function |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php |
|
AnnotationWithAttributes::getFloat |
function |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php |
|
AttachedAssetsTest::testAttributes |
function |
core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php |
Tests adding JavaScript files with additional attributes. |
AnnotationWithAttributes::getArray |
function |
core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php |
|
route_special_attributes_subscriber |
service |
core/core.services.yml |
Drupal\Core\EventSubscriber\SpecialAttributesRouteSubscriber |