MenuLinkTreeElement::$hasChildren

Whether this link has any children at all. Type: bool File core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php, line 56 Class MenuLinkTreeElement Provides a value object to model an element in a menu link tree. Namespace Drupal\Core\Menu Code public $hasChildren;

StreamWrapperInterface::READ

Wrapper is readable (almost always true). File core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 45 Class StreamWrapperInterface Defines a Drupal stream wrapper extension. Namespace Drupal\Core\StreamWrapper Code const READ = 0x0004;

menu_ui_preprocess_block

menu_ui_preprocess_block(&$variables) Implements hook_preprocess_HOOK() for block templates. File core/modules/menu_ui/menu_ui.module, line 494 Allows administrators to customize the site's navigation menus. Code function menu_ui_preprocess_block(&$variables) { if ($variables['configuration']['provider'] == 'menu_ui') { $variables['attributes']['role'] = 'navigation'; } }

node_preprocess_html

node_preprocess_html(&$variables) Implements hook_preprocess_HOOK() for HTML document templates. File core/modules/node/node.module, line 519 The core module that allows content to be submitted to the site. Code function node_preprocess_html(&$variables) { // If on an individual node page, add the node type to body classes. if (($node = \Drupal::routeMatch()->getParameter('node')) && $node instanceof NodeInterface) { $variables['node_type'] = $node->getType();

ReindexConfirm::getDescription

public ReindexConfirm::getDescription() Returns additional text to display as a description. Return value string The form description. Overrides ConfirmFormBase::getDescription File core/modules/search/src/Form/ReindexConfirm.php, line 31 Class ReindexConfirm Provides the search reindex confirmation form. Namespace Drupal\search\Form Code public function getDescription() { return $this->t("This will re-index content in the search indexes of all active search pages. Searching will

watchdog_exception

watchdog_exception($type, Exception $exception, $message = NULL, $variables = array(), $severity = RfcLogLevel::ERROR, $link = NULL) Logs an exception. This is a wrapper logging function which automatically decodes an exception. Parameters $type: The category to which this message belongs. $exception: The exception that is going to be logged. $message: The message to store in the log. If empty, a text that contains all useful information about the passed-in exception is used. $variables: Array

ImmutableConfig::clear

public ImmutableConfig::clear($key) Unsets a value in this configuration object. Parameters string $key: Name of the key whose value should be unset. Return value $this The configuration object. Overrides Config::clear File core/lib/Drupal/Core/Config/ImmutableConfig.php, line 33 Class ImmutableConfig Defines the immutable configuration object. Namespace Drupal\Core\Config Code public function clear($key) { throw new ImmutableConfigException("Can not clear $key key in immutable con

ViewUI::link

public ViewUI::link($text = NULL, $rel = 'edit-form', array $options = []) Deprecated way of generating a link to the entity. See toLink(). Parameters string|null $text: (optional) The link text for the anchor tag as a translated string. If NULL, it will use the entity's label. Defaults to NULL. string $rel: (optional) The link relationship type. Defaults to 'canonical'. array $options: See \Drupal\Core\Routing\UrlGeneratorInterface::generateFromRoute() for the available options. Return value

FileCacheFactory::$configuration

The configuration used to create FileCache objects. Type: array $configuration File core/lib/Drupal/Component/FileCache/FileCacheFactory.php, line 20 Class FileCacheFactory Creates a FileCache object. Namespace Drupal\Component\FileCache Code protected static $configuration;

LanguageServiceProvider::isMultilingual

protected LanguageServiceProvider::isMultilingual() Checks whether the site is multilingual. Return value bool TRUE if the site is multilingual, FALSE otherwise. File core/modules/language/src/LanguageServiceProvider.php, line 72 Class LanguageServiceProvider Overrides the language_manager service to point to language's module one. Namespace Drupal\language Code protected function isMultilingual() { // Assign the prefix to a local variable so it can be used in an anonymous // func