LanguageInterface::TYPE_URL

The type of language used for URLs. File core/lib/Drupal/Core/Language/LanguageInterface.php, line 87 Class LanguageInterface Defines a language. Namespace Drupal\Core\Language Code const TYPE_URL = 'language_url';

MenuForm::$entityQueryFactory

The factory for entity queries. Type: \Drupal\Core\Entity\Query\QueryFactory File core/modules/menu_ui/src/MenuForm.php, line 31 Class MenuForm Base form for menu edit forms. Namespace Drupal\menu_ui Code protected $entityQueryFactory;

LanguageConfigFactoryOverride::getStorage

public LanguageConfigFactoryOverride::getStorage($langcode) Returns the storage instance for a particular langcode. Parameters string $langcode: Language code. Return value \Drupal\Core\Config\StorageInterface The storage instance for a particular langcode. Overrides LanguageConfigFactoryOverrideInterface::getStorage File core/modules/language/src/Config/LanguageConfigFactoryOverride.php, line 112 Class LanguageConfigFactoryOverride Provides language overrides for the configuration facto

ThemeHandlerInterface::install

public ThemeHandlerInterface::install(array $theme_list, $install_dependencies = TRUE) Installs a given list of themes. Parameters array $theme_list: An array of theme names. bool $install_dependencies: (optional) If TRUE, dependencies will automatically be installed in the correct order. This incurs a significant performance cost, so use FALSE if you know $theme_list is already complete and in the correct order. Return value bool Whether any of the given themes have been installed. Throws \

ConfigManagerInterface::getConfigFactory

public ConfigManagerInterface::getConfigFactory() Gets the config factory. Return value \Drupal\Core\Config\ConfigFactoryInterface The entity manager. File core/lib/Drupal/Core/Config/ConfigManagerInterface.php, line 46 Class ConfigManagerInterface Provides an interface for configuration manager. Namespace Drupal\Core\Config Code public function getConfigFactory();

ParamConversionEnhancer::applies

public ParamConversionEnhancer::applies(Route $route) Declares if the route enhancer applies to the given route. Parameters \Symfony\Component\Routing\Route $route: The route to consider attaching to. Return value bool TRUE if the check applies to the passed route, False otherwise. Overrides RouteEnhancerInterface::applies File core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php, line 95 Class ParamConversionEnhancer Provides a route enhancer that handles parameter conversi

field_ui_entity_bundle_create

field_ui_entity_bundle_create($entity_type, $bundle) Implements hook_entity_bundle_create(). File core/modules/field_ui/field_ui.module, line 111 Allows administrators to attach custom fields to fieldable types. Code function field_ui_entity_bundle_create($entity_type, $bundle) { // When a new bundle is created, the menu needs to be rebuilt to add our // menu item tabs. \Drupal::service('router.builder')->setRebuildNeeded(); }

LibraryDiscovery

Discovers available asset libraries in Drupal. Hierarchy class \Drupal\Core\Asset\LibraryDiscovery implements LibraryDiscoveryInterface File core/lib/Drupal/Core/Asset/LibraryDiscovery.php, line 10 Namespace Drupal\Core\Asset Members Name Modifiers Type Description LibraryDiscovery::$collector protected property The library discovery cache collector. LibraryDiscovery::$libraryDefinitions protected property The final library definitions, statically cached. Libra

RecursiveContextualValidator::validatePropertyValue

public RecursiveContextualValidator::validatePropertyValue($object, $property_name, $value, $groups = NULL) Validates a value against the constraints specified for an object's property. Parameters object|string $objectOrClass The object or its class name: string $propertyName The name of the property: mixed $value The value to validate against the: property's constraints array|null $groups The validation groups to validate. If: none is given, "Default" is assumed Return value ContextualValida

ViewsCache::$help

A short help string; this is displayed in the views UI. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/views/src/Annotation/ViewsCache.php, line 48 Class ViewsCache Defines a Plugin annotation object for views cache plugins. Namespace Drupal\views\Annotation Code public $help = '';