drupal_maintenance_theme

drupal_maintenance_theme() Enables use of the theme system without requiring database access. Loads and initializes the theme system for site installs, updates and when the site is in maintenance mode. This also applies when the database fails. See also _drupal_maintenance_theme() File core/includes/bootstrap.inc, line 704 Functions that need to be loaded on every Drupal request. Code function drupal_maintenance_theme() { require_once __DIR__ . '/theme.maintenance.inc'; _drupal_maintenan

HWLDFWordAccumulator::addWords

public HWLDFWordAccumulator::addWords($words, $tag = '') File core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php, line 56 Class HWLDFWordAccumulator @todo document @private @subpackage DifferenceEngine Namespace Drupal\Component\Diff\Engine Code public function addWords($words, $tag = '') { if ($tag != $this->tag) { $this->_flushGroup($tag); } foreach ($words as $word) { // new-line should only come as first char of word. if ($word == '') { con

ShortcutSetStorageInterface::deleteAssignedShortcutSets

public ShortcutSetStorageInterface::deleteAssignedShortcutSets(ShortcutSetInterface $entity) Delete shortcut sets assigned to users. Parameters \Drupal\shortcut\ShortcutSetInterface $entity: Delete the user assigned sets belonging to this shortcut. File core/modules/shortcut/src/ShortcutSetStorageInterface.php, line 44 Class ShortcutSetStorageInterface Defines an interface for shortcut_set entity storage classes. Namespace Drupal\shortcut Code public function deleteAssignedShortcutSet

ModerationStateTransitionListBuilder::createInstance

public static ModerationStateTransitionListBuilder::createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) Instantiates a new instance of this entity handler. This is a factory method that returns a new instance of this object. The factory should pass any needed dependencies into the constructor of this object, but not the container itself. Every call to this method must return a new instance of this object; that is, it may not implement a singleton. Parameters \Symfon

EntityType::getFormClass

public EntityType::getFormClass($operation) Gets the form class for a specific operation. Parameters string $operation: The name of the operation to use, e.g., 'default'. Return value string The class for this operation's form for this entity type. Overrides EntityTypeInterface::getFormClass See also \Drupal\Core\Entity\EntityFormBuilderInterface File core/lib/Drupal/Core/Entity/EntityType.php, line 501 Class EntityType Provides an implementation of an entity type and its metadata. Na

FieldFormatter::$id

The plugin ID. Type: string File core/lib/Drupal/Core/Field/Annotation/FieldFormatter.php, line 30 Class FieldFormatter Defines a FieldFormatter annotation object. Namespace Drupal\Core\Field\Annotation Code public $id;

MimeTypeGuesser

Defines a MIME type guesser that also supports stream wrapper paths. Hierarchy class \Drupal\Core\File\MimeType\MimeTypeGuesser implements MimeTypeGuesserInterface File core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php, line 13 Namespace Drupal\Core\File\MimeType Members Name Modifiers Type Description MimeTypeGuesser::$guessers protected property An array of arrays of registered guessers keyed by priority. MimeTypeGuesser::$sortedGuessers protected property

menu_ui_get_menus

menu_ui_get_menus($all = TRUE) Return an associative array of the custom menus names. Parameters bool $all: (optional) If FALSE return only user-added menus, or if TRUE also include the menus defined by the system. Defaults to TRUE. Return value array An array with the machine-readable names as the keys, and human-readable titles as the values. File core/modules/menu_ui/menu_ui.module, line 478 Allows administrators to customize the site's navigation menus. Code function menu_ui_get_menus($

FilterProcessResult::setProcessedText

public FilterProcessResult::setProcessedText($processed_text) Sets the processed text. Parameters string $processed_text: The text as processed by a text filter. Return value $this File core/modules/filter/src/FilterProcessResult.php, line 110 Class FilterProcessResult Used to return values from a text filter plugin's processing method. Namespace Drupal\filter Code public function setProcessedText($processed_text) { $this->processedText = $processed_text; return $this; }

FormCache::deleteCache

public FormCache::deleteCache($form_build_id) Deletes a form in the cache. Parameters string $form_build_id: The unique form build ID. Overrides FormCacheInterface::deleteCache File core/lib/Drupal/Core/Form/FormCache.php, line 203 Class FormCache Encapsulates the caching of a form and its form state. Namespace Drupal\Core\Form Code public function deleteCache($form_build_id) { $this->keyValueExpirableFactory->get('form')->delete($form_build_id); $this->keyValueExpirab