Hidden::preRenderHidden

public static Hidden::preRenderHidden($element) Prepares a #type 'hidden' render element for input.html.twig. Parameters array $element: An associative array containing the properties of the element. Properties used: #name, #value, #attributes. Return value array The $element with prepared variables ready for input.html.twig. File core/lib/Drupal/Core/Render/Element/Hidden.php, line 56 Class Hidden Provides a form element for an HTML 'hidden' input element. Namespace Drupal\Core\Rende

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

NegotiationSelectedForm::submitForm

public NegotiationSelectedForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides ConfigFormBase::submitForm File core/modules/language/src/Form/NegotiationSelectedForm.php, line 46 Class NegotiationSelectedForm Configure the selected language negotiation method for this site. Nam

PoDatabaseReader::setOptions

public PoDatabaseReader::setOptions(array $options) Set the options for the current reader. File core/modules/locale/src/PoDatabaseReader.php, line 75 Class PoDatabaseReader Gettext PO reader working with the locale module database. Namespace Drupal\locale Code public function setOptions(array $options) { $options += array( 'customized' => FALSE, 'not_customized' => FALSE, 'not_translated' => FALSE, ); $this->options = $options; }

BlockContentInterface::getRevisionLog

public BlockContentInterface::getRevisionLog() Returns the block revision log message. Return value string The revision log message. Deprecated in Drupal 8.2.0, will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\RevisionLogInterface::getRevisionLogMessage() instead. File core/modules/block_content/src/BlockContentInterface.php, line 23 Class BlockContentInterface Provides an interface defining a custom block entity. Namespace Drupal\block_content Code public function getR

CommentStorage::getMaxThread

public CommentStorage::getMaxThread(CommentInterface $comment) Gets the maximum encoded thread value for the top level comments. Parameters \Drupal\comment\CommentInterface $comment: A comment entity. Return value string The maximum encoded thread value among the top level comments of the node $comment belongs to. Overrides CommentStorageInterface::getMaxThread File core/modules/comment/src/CommentStorage.php, line 69 Class CommentStorage Defines the storage handler class for comments.

_editor_delete_file_usage

_editor_delete_file_usage(array $uuids, EntityInterface $entity, $count) Deletes file usage of files referenced by formatted text fields. Parameters array $uuids: An array of file entity UUIDs. EntityInterface $entity: An entity whose fields to inspect for file references. $count: The number of references to delete. Should be 1 when deleting a single revision and 0 when deleting an entity entirely. See also \Drupal\file\FileUsage\FileUsageInterface::delete() File core/modules/editor/editor.mo

FieldFormSavedCommand::render

public FieldFormSavedCommand::render() Return an array to be run through json_encode and sent to the client. Overrides BaseCommand::render File core/modules/quickedit/src/Ajax/FieldFormSavedCommand.php, line 39 Class FieldFormSavedCommand AJAX command to indicate a field was saved into PrivateTempStore without validation errors and pass the rerendered field to Quick Edit's JavaScript app. Namespace Drupal\quickedit\Ajax Code public function render() { return array( 'command' =>

FieldStorageDefinitionListener::onFieldStorageDefinitionUpdate

public FieldStorageDefinitionListener::onFieldStorageDefinitionUpdate(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original) Reacts to the update of a field storage definition. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field being updated. \Drupal\Core\Field\FieldStorageDefinitionInterface $original: The original storage definition; i.e., the definition before the update. Throws \Drupal\Core\Entity\Exception

ResourceRoutes::alterRoutes

protected ResourceRoutes::alterRoutes(RouteCollection $collection) Alters existing routes for a specific collection. Parameters \Symfony\Component\Routing\RouteCollection $collection: The route collection for adding routes. Return value array Overrides RouteSubscriberBase::alterRoutes File core/modules/rest/src/Routing/ResourceRoutes.php, line 61 Class ResourceRoutes Subscriber for REST-style routes. Namespace Drupal\rest\Routing Code protected function alterRoutes(RouteCollection $c