locale.install

Install, update, and uninstall functions for the Locale module. File core/modules/locale/locale.install Functions Name Description locale_install Implements hook_install(). locale_requirements Implements hook_requirements(). locale_schema Implements hook_schema(). locale_uninstall Implements hook_uninstall().

ProxyBuilder

Extend the component proxy builder by using the DependencySerialziationTrait. Hierarchy class \Drupal\Component\ProxyBuilder\ProxyBuilderclass \Drupal\Core\ProxyBuilder\ProxyBuilder File core/lib/Drupal/Core/ProxyBuilder/ProxyBuilder.php, line 10 Namespace Drupal\Core\ProxyBuilder Members Name Modifiers Type Description ProxyBuilder::build public function Builds a proxy class string. ProxyBuilder::buildConstructorMethod protected function Builds the constructor

ConfigDuplicateUUIDException

Exception thrown when a config object UUID causes a conflict. Hierarchy class \Drupal\Core\Config\ConfigException extends \RuntimeExceptionclass \Drupal\Core\Config\ConfigDuplicateUUIDException File core/lib/Drupal/Core/Config/ConfigDuplicateUUIDException.php, line 8 Namespace Drupal\Core\Config Members

ConfigCollectionInfo::addCollection

public ConfigCollectionInfo::addCollection($collection, ConfigFactoryOverrideInterface $override_service = NULL) Adds a collection to the list of possible collections. Parameters string $collection: Collection name to add. \Drupal\Core\Config\ConfigFactoryOverrideInterface $override_service: (optional) The configuration factory override service responsible for the collection. Throws \InvalidArgumentException Exception thrown if $collection is equal to \Drupal\Core\Config\StorageInterface::DEF

EntityDisplayInterface::getRenderer

public EntityDisplayInterface::getRenderer($field_name) Gets the renderer plugin for a field (e.g. widget, formatter). Parameters string $field_name: The field name. Return value \Drupal\Core\Field\PluginSettingsInterface|null A widget or formatter plugin or NULL if the field does not exist. File core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php, line 87 Class EntityDisplayInterface Provides a common interface for entity displays. Namespace Drupal\Core\Entity\Display Cod

PoStreamWriter::getLangcode

public PoStreamWriter::getLangcode() Gets the current language code used. Return value string The language code. Overrides PoMetadataInterface::getLangcode File core/lib/Drupal/Component/Gettext/PoStreamWriter.php, line 57 Class PoStreamWriter Defines a Gettext PO stream writer. Namespace Drupal\Component\Gettext Code public function getLangcode() { return $this->_langcode; }

RoutePreloader

Defines a class which preloads non-admin routes. On an actual site we want to avoid too many database queries so we build a list of all routes which most likely appear on the actual site, which are all HTML routes not starting with "/admin". Hierarchy class \Drupal\Core\Routing\RoutePreloader implements EventSubscriberInterface File core/lib/Drupal/Core/Routing/RoutePreloader.php, line 20 Namespace Drupal\Core\Routing Members Name Modifiers Type Description RoutePreloader::$ca

WordLevelDiff::MAX_LINE_LENGTH

File core/lib/Drupal/Component/Diff/WordLevelDiff.php, line 15 Class WordLevelDiff @todo document @private @subpackage DifferenceEngine Namespace Drupal\Component\Diff Code const MAX_LINE_LENGTH = 10000;

MenuListBuilder::getDefaultOperations

public MenuListBuilder::getDefaultOperations(EntityInterface $entity) Gets this list's default operations. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity the operations are for. Return value array The array structure is identical to the return value of self::getOperations(). Overrides ConfigEntityListBuilder::getDefaultOperations File core/modules/menu_ui/src/MenuListBuilder.php, line 43 Class MenuListBuilder Defines a class to build a listing of menu entities. Name

ViewExecutable::$parent_views

To avoid recursion in views embedded into areas. Type: \Drupal\views\ViewExecutable[] File core/modules/views/src/ViewExecutable.php, line 166 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public $parent_views = array();