BreadcrumbBuilderInterface

Defines an interface for classes that build breadcrumbs. Hierarchy interface \Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface File core/lib/Drupal/Core/Breadcrumb/BreadcrumbBuilderInterface.php, line 10 Namespace Drupal\Core\Breadcrumb Members Name Modifiers Type Description BreadcrumbBuilderInterface::applies public function Whether this breadcrumb builder should be used to build the breadcrumb. BreadcrumbBuilderInterface::build public function Builds the brea

Element

Defines a service for Text Editor's render elements. Hierarchy class \Drupal\editor\Element File core/modules/editor/src/Element.php, line 13 Namespace Drupal\editor Members Name Modifiers Type Description Element::$pluginManager protected property The Text Editor plugin manager service. Element::preRenderTextFormat function Additional #pre_render callback for 'text_format' elements. Element::__construct public function Constructs a new Element object.

ThemeNegotiatorInterface

Defines an interface for classes which determine the active theme. To set the active theme, create a new service tagged with 'theme_negotiator' (see the theme.negotiator.admin_theme service in user.services.yml for an example). Your service class needs to implement this interface. If you are setting a theme which is closely tied to the functionality of a particular page or set of pages (such that the page might not function correctly if a different theme is used), make sure to set the priority

book_theme

book_theme() Implements hook_theme(). File core/modules/book/book.module, line 57 Allows users to create and organize related content in an outline. Code function book_theme() { return array( 'book_navigation' => array( 'variables' => array('book_link' => NULL), ), 'book_tree' => array( 'variables' => array('items' => array(), 'attributes' => array()), ), 'book_export_html' => array( 'variables' => array('title' => NULL, 'c

ContentTranslationHandler::hasAuthor

protected ContentTranslationHandler::hasAuthor() Checks whether the entity type supports author natively. Return value bool TRUE if metadata is natively supported, FALSE otherwise. File core/modules/content_translation/src/ContentTranslationHandler.php, line 172 Class ContentTranslationHandler Base class for content translation handlers. Namespace Drupal\content_translation Code protected function hasAuthor() { // Check for field named uid, but only in case the entity implements the

UpdateKernel::cacheDrupalContainer

protected UpdateKernel::cacheDrupalContainer(array $container_definition) Stores the container definition in a cache. Parameters array $container_definition: The container definition to cache. Return value bool TRUE if the container was successfully cached. Overrides DrupalKernel::cacheDrupalContainer File core/lib/Drupal/Core/Update/UpdateKernel.php, line 47 Class UpdateKernel Defines a kernel which is used primarily to run the update of Drupal. Namespace Drupal\Core\Update Code pro

HWLDFWordAccumulator

@todo document @private @subpackage DifferenceEngine Hierarchy class \Drupal\Component\Diff\Engine\HWLDFWordAccumulator File core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php, line 16 Namespace Drupal\Component\Diff\Engine Members Name Modifiers Type Description HWLDFWordAccumulator::$group protected property HWLDFWordAccumulator::$line protected property HWLDFWordAccumulator::$lines protected property HWLDFWordAccumulator::$tag protected

UpdateKernel::handleAccess

protected UpdateKernel::handleAccess(Request $request) Checks if the current user has rights to access updates page. If the current user does not have the rights, an exception is thrown. Parameters \Symfony\Component\HttpFoundation\Request $request: The incoming request. Throws \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException Thrown when update.php should not be accessible. File core/lib/Drupal/Core/Update/UpdateKernel.php, line 172 Class UpdateKernel Defines a kernel wh

RegisterStreamWrappersPass

Adds services tagged 'stream_wrapper' to the stream_wrapper_manager service. Hierarchy class \Drupal\Core\DependencyInjection\Compiler\RegisterStreamWrappersPass implements CompilerPassInterface File core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterStreamWrappersPass.php, line 11 Namespace Drupal\Core\DependencyInjection\Compiler Members Name Modifiers Type Description RegisterStreamWrappersPass::process public function You can modify the container here before i

block_content_theme

block_content_theme($existing, $type, $theme, $path) Implements hook_theme(). File core/modules/block_content/block_content.module, line 45 Allows the creation of custom blocks through the user interface. Code function block_content_theme($existing, $type, $theme, $path) { return array( 'block_content_add_list' => array( 'variables' => array('content' => NULL), 'file' => 'block_content.pages.inc', ), ); }