NodeStorage::clearRevisionsLanguage

public NodeStorage::clearRevisionsLanguage(LanguageInterface $language) Unsets the language for all nodes with the given language. Parameters \Drupal\Core\Language\LanguageInterface $language: The language object. Overrides NodeStorageInterface::clearRevisionsLanguage File core/modules/node/src/NodeStorage.php, line 57 Class NodeStorage Defines the storage handler class for nodes. Namespace Drupal\node Code public function clearRevisionsLanguage(LanguageInterface $language) { return

NodeStorage

Defines the storage handler class for nodes. This extends the base storage class, adding required special handling for node entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityStorageBase implements EntityHandlerInterface, EntityStorageInterfaceclass \Drupal\Core\Entity\ContentEntityStorageBase implements ContentEntityStorageInterface, DynamicallyFieldableEntityStorageInterfaceclass \Drupal\Core

NodeRouteProvider::getRoutes

public NodeRouteProvider::getRoutes(EntityTypeInterface $entity_type) Provides routes for entities. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type Return value \Symfony\Component\Routing\RouteCollection|\Symfony\Component\Routing\Route[] Returns a route collection or an array of routes keyed by name, like route_callbacks inside 'routing.yml' files. Overrides EntityRouteProviderInterface::getRoutes File core/modules/node/src/Entity/NodeRouteProvider.php, line

NodeRouteProvider

Provides routes for nodes. Hierarchy class \Drupal\node\Entity\NodeRouteProvider implements EntityRouteProviderInterface File core/modules/node/src/Entity/NodeRouteProvider.php, line 13 Namespace Drupal\node\Entity Members Name Modifiers Type Description NodeRouteProvider::getRoutes public function Provides routes for entities. Overrides EntityRouteProviderInterface::getRoutes

NodeRevisionRevertTranslationForm::__construct

public NodeRevisionRevertTranslationForm::__construct(EntityStorageInterface $node_storage, DateFormatterInterface $date_formatter, LanguageManagerInterface $language_manager) Constructs a new NodeRevisionRevertTranslationForm. Parameters \Drupal\Core\Entity\EntityStorageInterface $node_storage: The node storage. \Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service. \Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager. Overr

NodeRevisionRevertTranslationForm::prepareRevertedRevision

protected NodeRevisionRevertTranslationForm::prepareRevertedRevision(NodeInterface $revision, FormStateInterface $form_state) Prepares a revision to be reverted. Parameters \Drupal\node\NodeInterface $revision: The revision to be reverted. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value \Drupal\node\NodeInterface The prepared revision ready to be stored. Overrides NodeRevisionRevertForm::prepareRevertedRevision File core/modules/node/src/Form/Node

NodeRevisionRevertTranslationForm::getQuestion

public NodeRevisionRevertTranslationForm::getQuestion() Returns the question to ask the user. Return value string The form question. The page title will be set to this value. Overrides NodeRevisionRevertForm::getQuestion File core/modules/node/src/Form/NodeRevisionRevertTranslationForm.php, line 67 Class NodeRevisionRevertTranslationForm Provides a form for reverting a node revision for a single translation. Namespace Drupal\node\Form Code public function getQuestion() { return t('A

NodeRevisionRevertTranslationForm::getFormId

public NodeRevisionRevertTranslationForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides NodeRevisionRevertForm::getFormId File core/modules/node/src/Form/NodeRevisionRevertTranslationForm.php, line 60 Class NodeRevisionRevertTranslationForm Provides a form for reverting a node revision for a single translation. Namespace Drupal\node\Form Code public function getFormId() { return 'node_revision_revert_t

NodeRevisionRevertTranslationForm::getDescription

public NodeRevisionRevertTranslationForm::getDescription() Returns additional text to display as a description. Return value string The form description. Overrides NodeRevisionRevertForm::getDescription File core/modules/node/src/Form/NodeRevisionRevertTranslationForm.php, line 74 Class NodeRevisionRevertTranslationForm Provides a form for reverting a node revision for a single translation. Namespace Drupal\node\Form Code public function getDescription() { return ''; }

NodeRevisionRevertTranslationForm::create

public static NodeRevisionRevertTranslationForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $conta