ConfigController::$configManager

The configuration manager. Type: \Drupal\Core\Config\ConfigManagerInterface File core/modules/config/src/Controller/ConfigController.php, line 40 Class ConfigController Returns responses for config module routes. Namespace Drupal\config\Controller Code protected $configManager;

Search interface

The Drupal search interface manages a global search mechanism. Modules may plug into this system to provide searches of different types of data. Most of the system is handled by the Search module, so this must be enabled for all of the search features to work. There are two ways to interact with the search system: Specifically for searching nodes, you can implement hook_node_update_index() and hook_node_search_result(). However, note that the search system already indexes all visible output of

ThemeInstaller

Manages theme installation/uninstallation. Hierarchy class \Drupal\Core\Extension\ThemeInstaller implements ThemeInstallerInterface File core/lib/Drupal/Core/Extension/ThemeInstaller.php, line 17 Namespace Drupal\Core\Extension Members Name Modifiers Type Description ThemeInstaller::$configFactory protected property ThemeInstaller::$configInstaller protected property ThemeInstaller::$configManager protected property ThemeInstaller::$cssCollectionOptimiz

BookManager::bookTreeOutput

public BookManager::bookTreeOutput(array $tree) Returns a rendered menu tree. The menu item's LI element is given one of the following classes: expanded: The menu item is showing its submenu. collapsed: The menu item has a submenu which is not shown. Parameters array $tree: A data structure representing the tree as returned from buildBookOutlineData. Return value array A structured array to be rendered by drupal_render(). Overrides BookManagerInterface::bookTreeOutput See also \Drupal\Co

FileCacheFactory::setPrefix

public static FileCacheFactory::setPrefix($prefix) Sets the cache prefix that should be used. Should be set to a secure, unique key to prevent cache pollution by a third party. Parameters string $prefix: The cache prefix. File core/lib/Drupal/Component/FileCache/FileCacheFactory.php, line 115 Class FileCacheFactory Creates a FileCache object. Namespace Drupal\Component\FileCache Code public static function setPrefix($prefix) { static::$prefix = $prefix; }

PagerSelectExtender::element

public PagerSelectExtender::element($element) Specify the element ID for this pager query. The element is used to differentiate different pager queries on the same page so that they may be operated independently. If you do not specify an element, every pager query on the page will get a unique element. If for whatever reason you want to explicitly define an element for a given query, you may do so here. Setting the element here also increments the static $maxElement counter, which is used for d

ResourceRoutes

Subscriber for REST-style routes. Hierarchy class \Drupal\Core\Routing\RouteSubscriberBase implements EventSubscriberInterfaceclass \Drupal\rest\Routing\ResourceRoutes File core/modules/rest/src/Routing/ResourceRoutes.php, line 15 Namespace Drupal\rest\Routing Members Name Modifiers Type Description ResourceRoutes::$logger protected property A logger instance. ResourceRoutes::$manager protected property The plugin manager for REST plugins. ResourceRoutes::$res

ContentTranslationMetadataWrapperInterface::getChangedTime

public ContentTranslationMetadataWrapperInterface::getChangedTime() Returns the timestamp of the last entity change from current translation. Return value int The timestamp of the last entity save operation. File core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php, line 117 Class ContentTranslationMetadataWrapperInterface Common interface for content translation metadata wrappers. Namespace Drupal\content_translation Code public function getChangedTime(

BlockContentViewBuilder::viewMultiple

public BlockContentViewBuilder::viewMultiple(array $entities = array(), $view_mode = 'full', $langcode = NULL) Builds the render array for the provided entities. Parameters array $entities: An array of entities implementing EntityInterface to view. string $view_mode: (optional) The view mode that should be used to render the entity. string $langcode: (optional) For which language the entity should be rendered, defaults to the current content language. Return value A render array for the entit

rdf-wrapper.html.twig

Default theme implementation for wrapping content with RDF attributes. Available variables: content: The content being wrapped with RDF attributes. attributes: HTML attributes, including RDF attributes for wrapper element. File core/modules/rdf/templates/rdf-wrapper.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.