ViewExecutable::newDisplay

public ViewExecutable::newDisplay($plugin_id = 'page', $title = NULL, $id = NULL) Creates a new display and a display handler instance for it. Parameters string $plugin_id: (optional) The plugin type from the Views plugin annotation. Defaults to 'page'. string $title: (optional) The title of the display. Defaults to NULL. string $id: (optional) The ID to use, e.g., 'default', 'page_1', 'block_2'. Defaults to NULL. Return value \Drupal\views\Plugin\views\display\DisplayPluginBase A new display

LocaleConfigManager::reset

public LocaleConfigManager::reset() Reset static cache of configuration string translations. Return value $this File core/modules/locale/src/LocaleConfigManager.php, line 420 Class LocaleConfigManager Manages configuration supported in part by interface translation. Namespace Drupal\locale Code public function reset() { $this->translations = array(); return $this; }

LocalActionManager::$routeMatch

The current route match. Type: \Drupal\Core\Routing\RouteMatchInterface File core/lib/Drupal/Core/Menu/LocalActionManager.php, line 69 Class LocalActionManager Provides the default local action manager using YML as primary definition. Namespace Drupal\Core\Menu Code protected $routeMatch;

DefaultExceptionSubscriber::getErrorLevel

protected DefaultExceptionSubscriber::getErrorLevel() Gets the configured error level. Return value string File core/lib/Drupal/Core/EventSubscriber/DefaultExceptionSubscriber.php, line 55 Class DefaultExceptionSubscriber Last-chance handler for exceptions. Namespace Drupal\Core\EventSubscriber Code protected function getErrorLevel() { if (!isset($this->errorLevel)) { $this->errorLevel = $this->configFactory->get('system.logging')->get('error_level'); } return

ContentEntityNullStorage::save

public ContentEntityNullStorage::save(EntityInterface $entity) Saves the entity permanently. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity to save. Return value SAVED_NEW or SAVED_UPDATED is returned depending on the operation performed. Throws \Drupal\Core\Entity\EntityStorageException In case of failures, an exception is thrown. Overrides EntityStorageBase::save File core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php, line 69 Class ContentEntityNullStorage D

ContentEntityBase::$activeLangcode

Language code identifying the entity active language. This is the language field accessors will use to determine which field values manipulate. Type: string File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 96 Class ContentEntityBase Implements Entity Field API specific enhancements to the Entity class. Namespace Drupal\Core\Entity Code protected $activeLangcode = LanguageInterface::LANGCODE_DEFAULT;

views_ui_contextual_links_suppress_push

views_ui_contextual_links_suppress_push() Increments the views_ui_contextual_links_suppress() static variable. When this function is added to the #pre_render of an element, and 'views_ui_contextual_links_suppress_pop' is added to the #post_render of the same element, then all contextual links within the element and its descendants are suppressed from being rendered. This is used, for example, during a View preview, when it is not desired for nodes in the Views result to have contextual links. S

Updater::getProjectTitle

public static Updater::getProjectTitle($directory) Returns the project name from a Drupal info file. Parameters string $directory: Directory to search for the info file. Return value string The title of the project. Throws \Drupal\Core\Updater\UpdaterException File core/lib/Drupal/Core/Updater/Updater.php, line 173 Class Updater Defines the base class for Updaters used in Drupal. Namespace Drupal\Core\Updater Code public static function getProjectTitle($directory) { $info_file = s

FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionUpdate

public FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionUpdate(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original) Reacts to the update of a field storage definition. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field being updated. \Drupal\Core\Field\FieldStorageDefinitionInterface $original: The original storage definition; i.e., the definition before the update. Throws \Drupal\Core\Entity\

LanguageNegotiator::$configFactory

The configuration factory. Type: \Drupal\Core\Config\ConfigFactoryInterface File core/modules/language/src/LanguageNegotiator.php, line 36 Class LanguageNegotiator Class responsible for performing language negotiation. Namespace Drupal\language Code protected $configFactory;