Html::cleanCssIdentifier

public static Html::cleanCssIdentifier($identifier, array $filter = array( ' ' => '-', '_' => '-', '/' => '-', '[' => '-', ']' => '', )) Prepares a string for use as a CSS identifier (element, class, or ID name). http://www.w3.org/TR/CSS21/syndata.html#characters shows the syntax for valid CSS identifiers (including element names, classes, and IDs in selectors.) Parameters string $identifier: The identifier to clean. array $filter: An array of string replacements to us

Html::$uriAttributes

All attributes that may contain URIs. The attributes 'code' and 'codebase' are omitted, because they only exist for the <applet> tag. The time of Java applets has passed. The attribute 'icon' is omitted, because no browser implements the <command> tag anymore. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/command. The 'manifest' attribute is omitted because it only exists for the <html> tag. That tag only makes sense in a HTML-served-as-HTML context, in which c

Html::$seenIdsInit

An array of the initial IDs used in one request. Type: array File core/lib/Drupal/Component/Utility/Html.php, line 24 Class Html Provides DOMDocument helpers for parsing and serializing HTML strings. Namespace Drupal\Component\Utility Code protected static $seenIdsInit;

Html::$seenIds

An array of IDs, including incremented versions when an ID is duplicated. Type: array File core/lib/Drupal/Component/Utility/Html.php, line 30 Class Html Provides DOMDocument helpers for parsing and serializing HTML strings. Namespace Drupal\Component\Utility Code protected static $seenIds;

Html::$isAjax

Stores whether the current request was sent via AJAX. Type: bool File core/lib/Drupal/Component/Utility/Html.php, line 37 Class Html Provides DOMDocument helpers for parsing and serializing HTML strings. Namespace Drupal\Component\Utility Code protected static $isAjax = FALSE;

Html::$classes

An array of previously cleaned HTML classes. Type: array File core/lib/Drupal/Component/Utility/Html.php, line 17 Class Html Provides DOMDocument helpers for parsing and serializing HTML strings. Namespace Drupal\Component\Utility Code protected static $classes = array();

html.html.twig

Default theme implementation for the basic structure of a single Drupal page. Variables: logged_in: A flag indicating if user is logged in. root_path: The root path of the current page (e.g., node, admin, user). node_type: The content type for the current node, if the page is a node. head_title: List of text elements that make up the head_title variable. May contain one or more of the following: title: The title of the page. name: The name of the site. slogan: The slogan of the site. p

Html

Provides a render element for an entire HTML page: <html> plus its children. Plugin annotation @RenderElement("html") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Render\Element\RenderElement implements ElementInterfaceclass \Drupal\Core\Render\Element\Html File core/lib/Drupal/Core/Render/Element/

Html

Provides DOMDocument helpers for parsing and serializing HTML strings. Hierarchy class \Drupal\Component\Utility\Html Related topics Utility classes and functions Overview of utility classes and functions for developers. File core/lib/Drupal/Component/Utility/Html.php, line 10 Namespace Drupal\Component\Utility Members Name Modifiers Type Description Html::$classes protected static property An array of previously cleaned HTML classes. Html::$isAjax protected static

hook_views_ui_display_top_links_alter

hook_views_ui_display_top_links_alter(array &$links, ViewExecutable $view, $display_id) Alter the links displayed at the top of the view edit form. Parameters array $links: A renderable array of links which will be displayed at the top of the view edit form. Each entry will be in a form suitable for '#theme' => 'links'. \Drupal\views\ViewExecutable $view: The view object being edited. string $display_id: The ID of the display being edited, e.g. 'default' or 'page_1'. See also \Drupal\v