Element::getTypedDataManager

public Element::getTypedDataManager() Gets the typed configuration manager. Overrides \Drupal\Core\TypedData\TypedDataTrait::getTypedDataManager() to ensure the typed configuration manager is returned. Return value \Drupal\Core\Config\TypedConfigManagerInterface The typed configuration manager. Overrides TypedDataTrait::getTypedDataManager File core/lib/Drupal/Core/Config/Schema/Element.php, line 30 Class Element Defines a generic configuration element. Namespace Drupal\Core\Config\Sch

Element::children

public static Element::children(array &$elements, $sort = FALSE) Identifies the children of an element array, optionally sorted by weight. The children of a element array are those key/value pairs whose key does not start with a '#'. See drupal_render() for details. Parameters array $elements: The element array whose children are to be identified. Passed by reference. bool $sort: Boolean to indicate whether the children should be sorted by weight. Return value array The array keys of the

Element::child

public static Element::child($key) Checks if the key is a child. Parameters string $key: The key to check. Return value bool TRUE if the element is a child, FALSE otherwise. File core/lib/Drupal/Core/Render/Element.php, line 52 Class Element Provides helper methods for Drupal render elements. Namespace Drupal\Core\Render Code public static function child($key) { return !isset($key[0]) || $key[0] != '#'; }

Element::$value

The configuration value. Type: mixed File core/lib/Drupal/Core/Config/Schema/Element.php, line 19 Class Element Defines a generic configuration element. Namespace Drupal\Core\Config\Schema Code protected $value;

Element

Defines a service for Text Editor's render elements. Hierarchy class \Drupal\editor\Element File core/modules/editor/src/Element.php, line 13 Namespace Drupal\editor Members Name Modifiers Type Description Element::$pluginManager protected property The Text Editor plugin manager service. Element::preRenderTextFormat function Additional #pre_render callback for 'text_format' elements. Element::__construct public function Constructs a new Element object.

Element

Defines a generic configuration element. Hierarchy class \Drupal\Core\TypedData\TypedData implements PluginInspectionInterface, TypedDataInterface uses StringTranslationTrait, TypedDataTraitclass \Drupal\Core\Config\Schema\Element File core/lib/Drupal/Core/Config/Schema/Element.php, line 12 Namespace Drupal\Core\Config\Schema Members Name Modifiers Type Description Element::$value protected property The configuration value. Element::getTypedDataManager public func

Element

Provides helper methods for Drupal render elements. Hierarchy class \Drupal\Core\Render\Element See also \Drupal\Core\Render\Element\ElementInterface Related topics Render API overview Overview of the Theme system and Render API. File core/lib/Drupal/Core/Render/Element.php, line 15 Namespace Drupal\Core\Render Members Name Modifiers Type Description Element::child public static function Checks if the key is a child. Element::children public static function Id

editor_post_update_clear_cache_for_file_reference_filter

editor_post_update_clear_cache_for_file_reference_filter() Clear the render cache to fix file references added by Editor. File core/modules/editor/editor.post_update.php, line 16 Post update functions for Editor. Code function editor_post_update_clear_cache_for_file_reference_filter() { }

editor_menu_links_discovered_alter

editor_menu_links_discovered_alter(array &$links) Implements hook_menu_links_discovered_alter(). Rewrites the menu entries for filter module that relate to the configuration of text editors. File core/modules/editor/editor.module, line 50 Adds bindings for client-side "text editors" to text formats. Code function editor_menu_links_discovered_alter(array &$links) { $links['filter.admin_overview']['title'] = new TranslatableMarkup('Text formats and editors'); $links['filter.admin_ov

editor_load

editor_load($format_id) Loads an individual configured text editor based on text format ID. Parameters int $format_id: A text format ID. Return value \Drupal\editor\Entity\Editor|null A text editor object, or NULL. File core/modules/editor/editor.module, line 261 Adds bindings for client-side "text editors" to text formats. Code function editor_load($format_id) { // Load all the editors at once here, assuming that either no editors or more // than one editor will be needed on a page (su