EntityViewDisplayEditForm::getOverviewUrl

protected EntityViewDisplayEditForm::getOverviewUrl($mode) Returns the Url object for a specific entity (form) display edit form. Parameters string $mode: The form or view mode. Return value \Drupal\Core\Url A Url object for the overview route. Overrides EntityDisplayFormBase::getOverviewUrl File core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php, line 138 Class EntityViewDisplayEditForm Edit form for the EntityViewDisplay entity type. Namespace Drupal\field_ui\Form Code pr

ConfigTranslationBlockListBuilder::buildRow

public ConfigTranslationBlockListBuilder::buildRow(EntityInterface $entity) Builds a row for an entity in the entity listing. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list. Return value array A render array structure of fields for this entity. Overrides ConfigTranslationEntityListBuilder::buildRow See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php, lin

Entity::hasLinkTemplate

public Entity::hasLinkTemplate($rel) Indicates if a link template exists for a given key. Parameters string $key: The link type. Return value bool TRUE if the link template exists, FALSE otherwise. Overrides EntityInterface::hasLinkTemplate File core/lib/Drupal/Core/Entity/Entity.php, line 240 Class Entity Defines a base entity class. Namespace Drupal\Core\Entity Code public function hasLinkTemplate($rel) { $link_templates = $this->linkTemplates(); return isset($link_templates

DatabaseLockBackend::catchException

protected DatabaseLockBackend::catchException(\Exception $e) Act on an exception when semaphore might be stale. If the table does not yet exist, that's fine, but if the table exists and yet the query failed, then the semaphore is stale and the exception needs to propagate. Parameters $e: The exception. Throws \Exception File core/lib/Drupal/Core/Lock/DatabaseLockBackend.php, line 200 Class DatabaseLockBackend Defines the database lock backend. This is the default backend in Drupal. Nam

EntityInterface::create

public static EntityInterface::create(array $values = array()) Constructs a new entity object, without permanently saving it. Parameters array $values: (optional) An array of values to set, keyed by property name. If the entity type has bundles, the bundle key has to be specified. Return value static The entity object. File core/lib/Drupal/Core/Entity/EntityInterface.php, line 267 Class EntityInterface Defines a common interface for all entity objects. Namespace Drupal\Core\Entity Co

EntityTypeManager::getHandler

public EntityTypeManager::getHandler($entity_type, $handler_type) Creates a new handler instance for a entity type and handler type. Parameters string $entity_type: The entity type for this handler. string $handler_type: The handler type to create an instance for. Return value object A handler instance. Throws \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException Overrides EntityTypeManagerInterface::getHandler File core/lib/Drupal/Core/Entity/EntityTypeManager.php, line 231

ThemeInstaller::$cssCollectionOptimizer

Type: \Drupal\Core\Asset\AssetCollectionOptimizerInterface File core/lib/Drupal/Core/Extension/ThemeInstaller.php, line 47 Class ThemeInstaller Manages theme installation/uninstallation. Namespace Drupal\Core\Extension Code protected $cssCollectionOptimizer;

Query::uniqueIdentifier

public Query::uniqueIdentifier() Returns a unique identifier for this object. Overrides PlaceholderInterface::uniqueIdentifier File core/lib/Drupal/Core/Database/Query/Query.php, line 124 Class Query Base class for query builders. Namespace Drupal\Core\Database\Query Code public function uniqueIdentifier() { return $this->uniqueIdentifier; }

TermStorage::resetCache

public TermStorage::resetCache(array $ids = NULL) Resets the internal, static entity cache. Parameters $ids: (optional) If specified, the cache is reset for the entities with the given ids only. Overrides ContentEntityStorageBase::resetCache File core/modules/taxonomy/src/TermStorage.php, line 81 Class TermStorage Defines a Controller class for taxonomy terms. Namespace Drupal\taxonomy Code public function resetCache(array $ids = NULL) { drupal_static_reset('taxonomy_term_count_node

FormStateInterface::set

public FormStateInterface::set($property, $value) Sets a value to an arbitrary property. Parameters string|array $property: Properties are often stored as multi-dimensional associative arrays. If $property is a string, it will use $storage[$property] = $value. If $property is an array, each element of the array will be used as a nested key. If $property = ['foo', 'bar'] it will use $storage['foo']['bar'] = $value. mixed $value: The value to set. Return value $this File core/lib/Drupal/Core/Fo