ModerationStateInterface::isPublishedState

public ModerationStateInterface::isPublishedState() Determines if content updated to this state should be published. Return value bool TRUE if content updated to this state should be published. File core/modules/content_moderation/src/ModerationStateInterface.php, line 18 Class ModerationStateInterface Provides an interface for defining Moderation state entities. Namespace Drupal\content_moderation Code public function isPublishedState();

TypedDataManagerInterface

Defines an interface for typed data manager. Hierarchy interface \Drupal\Component\Plugin\PluginManagerInterface; interface \Drupal\Component\Plugin\Discovery\CachedDiscoveryInterfaceinterface \Drupal\Core\TypedData\TypedDataManagerInterface File core/lib/Drupal/Core/TypedData/TypedDataManagerInterface.php, line 13 Namespace Drupal\Core\TypedData Members Name Modifiers Type Description CachedDiscoveryInterface::clearCachedDefinitions public function Clears static and pe

InsertCommand::render

public InsertCommand::render() Implements Drupal\Core\Ajax\CommandInterface:render(). Overrides CommandInterface::render File core/lib/Drupal/Core/Ajax/InsertCommand.php, line 67 Class InsertCommand Generic AJAX command for inserting content. Namespace Drupal\Core\Ajax Code public function render() { return array( 'command' => 'insert', 'method' => NULL, 'selector' => $this->selector, 'data' => $this->getRenderedContent(), 'settings' => $this

FieldDefinitionInterface::isTranslatable

public FieldDefinitionInterface::isTranslatable() Returns whether the field is translatable. Return value bool TRUE if the field is translatable. File core/lib/Drupal/Core/Field/FieldDefinitionInterface.php, line 233 Class FieldDefinitionInterface Defines an interface for entity field definitions. Namespace Drupal\Core\Field Code public function isTranslatable();

AliasManager::$languageManager

Language manager for retrieving the default langcode when none is specified. Type: \Drupal\Core\Language\LanguageManagerInterface File core/lib/Drupal/Core/Path/AliasManager.php, line 48 Class AliasManager The default alias manager implementation. Namespace Drupal\Core\Path Code protected $languageManager;

ContentTranslationHandler::entityFormSubmit

ContentTranslationHandler::entityFormSubmit($form, FormStateInterface $form_state) Form submission handler for ContentTranslationHandler::entityFormAlter(). Updates metadata fields, which should be updated only after the validation has run and before the entity is saved. File core/modules/content_translation/src/ContentTranslationHandler.php, line 621 Class ContentTranslationHandler Base class for content translation handlers. Namespace Drupal\content_translation Code function entityFo

FieldItemInterface::propertyDefinitions

public static FieldItemInterface::propertyDefinitions(FieldStorageDefinitionInterface $field_definition) Defines field item properties. Properties that are required to constitute a valid, non-empty item should be denoted with \Drupal\Core\TypedData\DataDefinition::setRequired(). Return value \Drupal\Core\TypedData\DataDefinitionInterface[] An array of property definitions of contained properties, keyed by property name. See also \Drupal\Core\Field\BaseFieldDefinition File core/lib/Drupal/Core

ModerationInformationInterface

Interface for moderation_information service. Hierarchy interface \Drupal\content_moderation\ModerationInformationInterface File core/modules/content_moderation/src/ModerationInformationInterface.php, line 12 Namespace Drupal\content_moderation Members Name Modifiers Type Description ModerationInformationInterface::canModerateEntitiesOfEntityType public function Determines if an entity type can have moderated entities. ModerationInformationInterface::getDefaultRevision

FieldConfigBase::getType

public FieldConfigBase::getType() Returns the field type. Return value string The field type, i.e. the id of a field type plugin. For example 'text'. Overrides FieldDefinitionInterface::getType See also \Drupal\Core\Field\FieldTypePluginManagerInterface File core/lib/Drupal/Core/Field/FieldConfigBase.php, line 200 Class FieldConfigBase Base class for configurable field definitions. Namespace Drupal\Core\Field Code public function getType() { return $this->field_type; }

TypeLinkManager::$cache

Injected cache backend. Type: \Drupal\Core\Cache\CacheBackendInterface; File core/modules/rest/src/LinkManager/TypeLinkManager.php, line 19 Class TypeLinkManager Namespace Drupal\rest\LinkManager Code protected $cache;