EntityDeleteFormTrait::getEntity

abstract public EntityDeleteFormTrait::getEntity() Gets the entity of this form. Provided by \Drupal\Core\Entity\EntityForm. Return value \Drupal\Core\Entity\EntityInterface The entity. Overrides EntityForm::getEntity File core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php, line 28 Class EntityDeleteFormTrait Provides a trait for an entity deletion form. Namespace Drupal\Core\Entity Code abstract public function getEntity();

ModerationState::isPublishedState

public ModerationState::isPublishedState() Determines if content updated to this state should be published. Return value bool TRUE if content updated to this state should be published. Overrides ModerationStateInterface::isPublishedState File core/modules/content_moderation/src/Entity/ModerationState.php, line 91 Class ModerationState Defines the Moderation state entity. Namespace Drupal\content_moderation\Entity Code public function isPublishedState() { return $this->published;

EntityDisplayRepositoryInterface::getAllViewModes

public EntityDisplayRepositoryInterface::getAllViewModes() Gets the entity view mode info for all entity types. Return value array The view mode info for all entity types. File core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php, line 16 Class EntityDisplayRepositoryInterface Provides an interface for an entity display repository. Namespace Drupal\Core\Entity Code public function getAllViewModes();

PluralFormula::reset

public PluralFormula::reset() Resets the static formulae cache. Return value self The PluralFormula object. Overrides PluralFormulaInterface::reset File core/modules/locale/src/PluralFormula.php, line 106 Class PluralFormula Manages the storage of plural formula per language in state. Namespace Drupal\locale Code public function reset() { $this->formulae = NULL; return $this; }

ControllerBase::$configFactory

The configuration factory. Type: \Drupal\Core\Config\Config File core/lib/Drupal/Core/Controller/ControllerBase.php, line 75 Class ControllerBase Utility base class for thin controllers. Namespace Drupal\Core\Controller Code protected $configFactory;

Local::connect

public Local::connect() Connects to the server. Overrides FileTransfer::connect File core/lib/Drupal/Core/FileTransfer/Local.php, line 13 Class Local Defines the local connection class for copying files as the httpd user. Namespace Drupal\Core\FileTransfer Code public function connect() { // No-op }

PlaceholderInterface::nextPlaceholder

public PlaceholderInterface::nextPlaceholder() Returns the next placeholder ID for the query. Return value The next available placeholder ID as an integer. File core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php, line 21 Class PlaceholderInterface Interface for a query that accepts placeholders. Namespace Drupal\Core\Database\Query Code public function nextPlaceholder();

ConstraintManager::__construct

public ConstraintManager::__construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) Overrides \Drupal\Component\Plugin\PluginManagerBase::__construct(). Parameters \Traversable $namespaces: An object that implements \Traversable which contains the root paths keyed by the corresponding namespace to look for plugin implementations. \Drupal\Core\Cache\CacheBackendInterface $cache_backend: Cache backend instance to use. \Drupal\Core\Extensi

NodeType::isLocked

public NodeType::isLocked() Determines whether the node type is locked. Return value string|false The module name that locks the type or FALSE. Overrides NodeTypeInterface::isLocked File core/modules/node/src/Entity/NodeType.php, line 112 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code public function isLocked() { $locked = \Drupal::state()->get('node.type.locked'); return isset($locked[$this->id()]) ? $locked[$this->id()] : FA

NodeType::postSave

public NodeType::postSave(EntityStorageInterface $storage, $update = TRUE) Acts on a saved entity before the insert or update hook is invoked. Used after the entity is saved, but before invoking the insert or update hook. Note that in case of translatable content entities this callback is only fired on their current translation. It is up to the developer to iterate over all translations if needed. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. bool $