editor_form_filter_admin_form_ajax

editor_form_filter_admin_form_ajax($form, FormStateInterface $form_state) AJAX callback handler for filter_format_form(). File core/modules/editor/editor.module, line 208 Adds bindings for client-side "text editors" to text formats. Code function editor_form_filter_admin_form_ajax($form, FormStateInterface $form_state) { return $form['editor']['settings']; }

MaintenanceModeSubscriber::drupalSetMessage

protected MaintenanceModeSubscriber::drupalSetMessage($message = NULL, $type = 'status', $repeat = FALSE) Wraps the drupal_set_message function. File core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php, line 146 Class MaintenanceModeSubscriber Maintenance mode subscriber for controller requests. Namespace Drupal\Core\EventSubscriber Code protected function drupalSetMessage($message = NULL, $type = 'status', $repeat = FALSE) { return drupal_set_message($message, $type,

Select::orderRandom

public Select::orderRandom() Orders the result set by a random value. This may be stacked with other orderBy() calls. If so, the query will order by each specified field, including this one, in the order called. Although this method may be called multiple times on the same query, doing so is not particularly useful. Note: The method used by most drivers may not scale to very large result sets. If you need to work with extremely large data sets, you may create your own database driver by subclas

FormState::$validation_complete

Tracks if the form has finished validation. This property is uncacheable. Type: bool File core/lib/Drupal/Core/Form/FormState.php, line 407 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code protected $validation_complete = FALSE;

AttachedAssets::$libraries

The (ordered) list of asset libraries attached to the current response. Type: string[] File core/lib/Drupal/Core/Asset/AttachedAssets.php, line 15 Class AttachedAssets The default attached assets collection. Namespace Drupal\Core\Asset Code public $libraries = [];

Crypt::hashBase64

public static Crypt::hashBase64($data) Calculates a base-64 encoded, URL-safe sha-256 hash. Parameters string $data: String to be hashed. Return value string A base-64 encoded sha-256 hash, with + replaced with -, / with _ and any = padding characters removed. File core/lib/Drupal/Component/Utility/Crypt.php, line 70 Class Crypt Utility class for cryptographically-secure string handling routines. Namespace Drupal\Component\Utility Code public static function hashBase64($data) { $ha

CommentTypeInterface::getTargetEntityTypeId

public CommentTypeInterface::getTargetEntityTypeId() Gets the target entity type id for this comment type. Return value string The target entity type id. File core/modules/comment/src/CommentTypeInterface.php, line 36 Class CommentTypeInterface Provides an interface defining a comment type entity. Namespace Drupal\comment Code public function getTargetEntityTypeId();

BookManagerInterface::bookTreeCollectNodeLinks

public BookManagerInterface::bookTreeCollectNodeLinks(&$tree, &$node_links) Collects node links from a given menu tree recursively. Parameters array $tree: The menu tree you wish to collect node links from. array $node_links: An array in which to store the collected node links. File core/modules/book/src/BookManagerInterface.php, line 132 Class BookManagerInterface Provides an interface defining a book manager. Namespace Drupal\book Code public function bookTreeCollectNodeLink

_menu_ui_node_save

_menu_ui_node_save(NodeInterface $node, array $values) Helper function to create or update a menu link for a node. Parameters \Drupal\node\NodeInterface $node: Node entity. array $values: Values for the menu link. File core/modules/menu_ui/menu_ui.module, line 137 Allows administrators to customize the site's navigation menus. Code function _menu_ui_node_save(NodeInterface $node, array $values) { /** @var \Drupal\menu_link_content\MenuLinkContentInterface $entity */ if (!empty($values['e

LanguageNegotiation::$description

The description of the language negotiation plugin. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/language/src/Annotation/LanguageNegotiation.php, line 68 Class LanguageNegotiation Defines a language negotiation annotation object. Namespace Drupal\language\Annotation Code public $description;