EntityManager::getViewBuilder

public EntityManager::getViewBuilder($entity_type) Overrides EntityTypeManagerInterface::getViewBuilder Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. File core/lib/Drupal/Core/Entity/EntityManager.php, line 99 Class EntityManager Provides a wrapper around many other services relating to entities. Namespace Drupal\Core\Entity Code public function getViewBuilder($entity_type) { return $this->container->get('entity_type.manager')->getViewBuilder($entity_ty

KeyValueFactoryInterface

Defines the key/value store factory interface. Hierarchy interface \Drupal\Core\KeyValueStore\KeyValueFactoryInterface File core/lib/Drupal/Core/KeyValueStore/KeyValueFactoryInterface.php, line 8 Namespace Drupal\Core\KeyValueStore Members Name Modifiers Type Description KeyValueFactoryInterface::get public function Constructs a new key/value store for a given collection name.

AdminHtmlRouteProvider

Provides HTML routes for entities with administrative add/edit/delete pages. Use this class if the add/edit/delete form routes should use the administrative theme. @internal Hierarchy class \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider implements EntityHandlerInterface, EntityRouteProviderInterfaceclass \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider See also \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider. File core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php,

FieldStorageDefinitionInterface::getColumns

public FieldStorageDefinitionInterface::getColumns() Returns the field columns, as defined in the field schema. Return value array[] The array of field columns, keyed by column name, in the same format returned by getSchema(). See also \Drupal\Core\Field\FieldStorageDefinitionInterface::getSchema() File core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php, line 263 Class FieldStorageDefinitionInterface Defines an interface for entity field storage definitions. Namespace Drup

FieldUI::getRouteBundleParameter

public static FieldUI::getRouteBundleParameter(EntityTypeInterface $entity_type, $bundle) Gets the route parameter that should be used for Field UI routes. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The actual entity type, not the bundle (e.g. the content entity type). string $bundle: The bundle name. Return value array An array that can be used a route parameter. File core/modules/field_ui/src/FieldUI.php, line 78 Class FieldUI Static service container wrapper for

ComplexDataInterface::set

public ComplexDataInterface::set($property_name, $value, $notify = TRUE) Sets a property value. Parameters $property_name: The name of the property to set; e.g., 'title' or 'name'. $value: The value to set, or NULL to unset the property. bool $notify: (optional) Whether to notify the parent object of the change. Defaults to TRUE. If the update stems from a parent object, set it to FALSE to avoid being notified again. Return value $this Throws \InvalidArgumentException If the specified proper

DatabaseLockBackend::release

public DatabaseLockBackend::release($name) Releases the given lock. Parameters string $name: Overrides LockBackendInterface::release File core/lib/Drupal/Core/Lock/DatabaseLockBackend.php, line 138 Class DatabaseLockBackend Defines the database lock backend. This is the default backend in Drupal. Namespace Drupal\Core\Lock Code public function release($name) { unset($this->locks[$name]); try { $this->database->delete('semaphore') ->condition('name', $name)

FormStateDecoratorBase::getLimitValidationErrors

public FormStateDecoratorBase::getLimitValidationErrors() Retrieves the limited validation error sections. Return value array|null The limited validation error sections. Overrides FormStateInterface::getLimitValidationErrors See also \Drupal\Core\Form\FormState::$limit_validation_errors File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 146 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form Code public function getLimitValidationErrors(

ConfigMapperInterface::setRouteCollection

public ConfigMapperInterface::setRouteCollection(RouteCollection $collection) Sets the route collection. Parameters \Symfony\Component\Routing\RouteCollection $collection: The route collection. File core/modules/config_translation/src/ConfigMapperInterface.php, line 28 Class ConfigMapperInterface Defines an interface for configuration mapper. Namespace Drupal\config_translation Code public function setRouteCollection(RouteCollection $collection);

EntityDisplayInterface::getOriginalMode

public EntityDisplayInterface::getOriginalMode() Gets the original view or form mode that was requested. Return value string The original mode that was requested. File core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php, line 111 Class EntityDisplayInterface Provides a common interface for entity displays. Namespace Drupal\Core\Entity\Display Code public function getOriginalMode();