19declare(strict_types=1);
This class represents a valid language tag that should be used instead of plain strings.
A component is the most general form of an entity in the UI.
Interface to be extended by components that have the possibility to bind to Javascript.
getLanguageOfReferencedResource()
See comment in withLanguageOfReferencedContent.
withAdditionalRelationshipToReferencedResource(Relationship $type)
Relationships between the current and the referenced page are added as a rel attribute.
getAction()
Get the action url of a link.
withOpenInNewViewport(bool $open_in_new_viewport)
Set if link should be opened in new viewport.
withDisabled(bool $disabled=true)
disables the Link
getRelationshipsToReferencedResource()
withLanguageOfReferencedContent(LanguageTag $language)
The hreflang attribute indicates the language of content targeted by links.
Relationship
Note that not all valid values of the rel-attribute of anchor tags are included here (see https://htm...
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.