EntityRevisionConverter::__construct

public EntityRevisionConverter::__construct(EntityManagerInterface $entity_manager, ModerationInformationInterface $moderation_info) EntityRevisionConverter constructor. @todo: If the parent class is ever cleaned up to use EntityTypeManager instead of Entity manager, this method will also need to be adjusted. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager, needed by the parent class. \Drupal\content_moderation\ModerationInformationInterface $moderatio

ConfigFactoryInterface::getEditable

public ConfigFactoryInterface::getEditable($name) Returns an mutable configuration object for a given name. Should not be used for config that will have runtime effects. Therefore it is always loaded override free. Parameters string $name: The name of the configuration object to construct. Return value \Drupal\Core\Config\Config A configuration object. File core/lib/Drupal/Core/Config/ConfigFactoryInterface.php, line 35 Class ConfigFactoryInterface Defines the interface for a configurati

ViewsPager::$short_title

(optional) The short title used 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/ViewsPager.php, line 39 Class ViewsPager Defines a Plugin annotation object for views pager plugins. Namespace Drupal\views\Annotation Code public $short_title = '';

FormStateDecoratorBase::addBuildInfo

public FormStateDecoratorBase::addBuildInfo($property, $value) Adds a value to the build info. Parameters string $property: The property to use for the value. mixed $value: The value to set. Return value $this Overrides FormStateInterface::addBuildInfo File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 487 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form Code public function addBuildInfo($property, $value) { $this->decoratedFormS

install_install_profile

install_install_profile(&$install_state) Installs the install profile. Parameters $install_state: An array of information about the current installation state. File core/includes/install.core.inc, line 1554 API functions for installing Drupal. Code function install_install_profile(&$install_state) { \Drupal::service('module_installer')->install(array(drupal_get_profile()), FALSE); // Install all available optional config. During installation the module order // is determined

ConfigFactoryInterface::reset

public ConfigFactoryInterface::reset($name = NULL) Resets and re-initializes configuration objects. Internal use only. Parameters string|null $name: (optional) The name of the configuration object to reset. If omitted, all configuration objects are reset. Return value $this File core/lib/Drupal/Core/Config/ConfigFactoryInterface.php, line 62 Class ConfigFactoryInterface Defines the interface for a configuration object factory. Namespace Drupal\Core\Config Code public function reset($

ThemeInstallerInterface

Manages theme installation/uninstallation. Hierarchy interface \Drupal\Core\Extension\ThemeInstallerInterface File core/lib/Drupal/Core/Extension/ThemeInstallerInterface.php, line 8 Namespace Drupal\Core\Extension Members Name Modifiers Type Description ThemeInstallerInterface::install public function Installs a given list of themes. ThemeInstallerInterface::uninstall public function Uninstalls a given list of themes.

PermissionHandlerInterface::moduleProvidesPermissions

public PermissionHandlerInterface::moduleProvidesPermissions($module_name) Determines whether a module provides some permissions. Parameters string $module_name: The module name. Return value bool Returns TRUE if the module provides some permissions, otherwise FALSE. File core/modules/user/src/PermissionHandlerInterface.php, line 50 Class PermissionHandlerInterface Defines an interface to list available permissions. Namespace Drupal\user Code public function moduleProvidesPermissions

EntityType::getKey

public EntityType::getKey($key) Gets a specific entity key. Parameters string $key: The name of the entity key to return. Return value string|bool The entity key, or FALSE if it does not exist. Overrides EntityTypeInterface::getKey See also self::getKeys() File core/lib/Drupal/Core/Entity/EntityType.php, line 371 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code public function getKey($key) { $keys = $this->getKeys

EntityController::$entityTypeManager

The entity manager. Type: \Drupal\Core\Entity\EntityTypeManagerInterface File core/lib/Drupal/Core/Entity/Controller/EntityController.php, line 41 Class EntityController Provides the add-page and title callbacks for entities. Namespace Drupal\Core\Entity\Controller Code protected $entityTypeManager;