QueueWorkerManager::processDefinition

public QueueWorkerManager::processDefinition(&$definition, $plugin_id) Performs extra processing on plugin definitions. By default we add defaults for the type to the definition. If a type has additional processing logic they can do that by replacing or extending the method. Overrides DefaultPluginManager::processDefinition File core/lib/Drupal/Core/Queue/QueueWorkerManager.php, line 40 Class QueueWorkerManager Defines the queue worker manager. Namespace Drupal\Core\Queue Code publ

node.tokens.inc

Builds placeholder replacement tokens for node-related data. File core/modules/node/node.tokens.inc Functions Name Description node_tokens Implements hook_tokens(). node_token_info Implements hook_token_info().

Comment::getThread

public Comment::getThread() Returns the alphadecimal representation of the comment's place in a thread. Return value string The alphadecimal representation of the comment's place in a thread. Overrides CommentInterface::getThread File core/modules/comment/src/Entity/Comment.php, line 495 Class Comment Defines the comment entity class. Namespace Drupal\comment\Entity Code public function getThread() { $thread = $this->get('thread'); if (!empty($thread->value)) { return $t

breakpoint_themes_uninstalled

breakpoint_themes_uninstalled($theme_list) Implements hook_themes_uninstalled() File core/modules/breakpoint/breakpoint.module, line 49 Manage breakpoints and breakpoint groups for responsive designs. Code function breakpoint_themes_uninstalled($theme_list) { \Drupal::service('breakpoint.manager')->clearCachedDefinitions(); }

ModifiedResourceResponse

A response that does not contain cacheability metadata. Used when resources are modified by a request: responses to unsafe requests (POST/PATCH/DELETE) can never be cached. Hierarchy class \Symfony\Component\HttpFoundation\Responseclass \Drupal\rest\ModifiedResourceResponse implements ResourceResponseInterface uses ResourceResponseTrait See also \Drupal\rest\ResourceResponse File core/modules/rest/src/ModifiedResourceResponse.php, line 15 Namespace Drupal\rest Members Name Modifie

BlockBase::buildConfigurationForm

public BlockBase::buildConfigurationForm(array $form, FormStateInterface $form_state) Creates a generic configuration form for all block types. Individual block plugins can add elements to this form by overriding BlockBase::blockForm(). Most block plugins should not override this method unless they need to alter the generic form elements. Overrides PluginFormInterface::buildConfigurationForm See also \Drupal\Core\Block\BlockBase::blockForm() File core/lib/Drupal/Core/Block/BlockBase.php, line

BookManager::loadBooks

protected BookManager::loadBooks() Loads Books Array. File core/modules/book/src/BookManager.php, line 94 Class BookManager Defines a book manager. Namespace Drupal\book Code protected function loadBooks() { $this->books = array(); $nids = $this->bookOutlineStorage->getBooks(); if ($nids) { $book_links = $this->bookOutlineStorage->loadMultiple($nids); $nodes = $this->entityManager->getStorage('node')->loadMultiple($nids); // @todo: Sort by wei

ThemeHandlerInterface::setDefault

public ThemeHandlerInterface::setDefault($theme) Sets a new default theme. Parameters string $theme: The new default theme. Return value $this File core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php, line 169 Class ThemeHandlerInterface Manages the list of available themes. Namespace Drupal\Core\Extension Code public function setDefault($theme);

Container

Extends the Drupal container to set the service ID on the created object. Hierarchy class \Drupal\Component\DependencyInjection\Container implements IntrospectableContainerInterface, ResettableContainerInterfaceclass \Drupal\Core\DependencyInjection\Container File core/lib/Drupal/Core/DependencyInjection/Container.php, line 11 Namespace Drupal\Core\DependencyInjection Members Name Modifiers Type Description Container::$aliases protected property The aliases of the conta

field_ui_entity_form_mode_delete

field_ui_entity_form_mode_delete(EntityFormModeInterface $form_mode) Implements hook_entity_form_mode_delete(). File core/modules/field_ui/field_ui.module, line 214 Allows administrators to attach custom fields to fieldable types. Code function field_ui_entity_form_mode_delete(EntityFormModeInterface $form_mode) { \Drupal::service('router.builder')->setRebuildNeeded(); }