ModifiedResourceResponse

A response that does not contain cacheability metadata. Used when resources are modified by a request: responses to unsafe requests (POST/PATCH/DELETE) can never be cached. Hierarchy class \Symfony\Component\HttpFoundation\Responseclass \Drupal\rest\ModifiedResourceResponse implements ResourceResponseInterface uses ResourceResponseTrait See also \Drupal\rest\ResourceResponse File core/modules/rest/src/ModifiedResourceResponse.php, line 15 Namespace Drupal\rest Members Name Modifie

ModerationStateTransitionListBuilder::__construct

public ModerationStateTransitionListBuilder::__construct(EntityTypeInterface $entity_type, EntityStorageInterface $transition_storage, EntityStorageInterface $state_storage, RoleStorageInterface $role_storage) Constructs a new ModerationStateTransitionListBuilder. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: Entity Type. \Drupal\Core\Entity\EntityStorageInterface $transition_storage: Moderation state transition entity storage. \Drupal\Core\Entity\EntityStorageInterface $sta

ModerationStateTransitionListBuilder::render

public ModerationStateTransitionListBuilder::render() Builds the entity listing as renderable array for table.html.twig. @todo Add a link to add a new item to the #empty text. Overrides DraggableListBuilder::render File core/modules/content_moderation/src/ModerationStateTransitionListBuilder.php, line 94 Class ModerationStateTransitionListBuilder Provides a listing of Moderation state transition entities. Namespace Drupal\content_moderation Code public function render() { $build = p

ModerationStateTransitionListBuilder::getFormId

public ModerationStateTransitionListBuilder::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/content_moderation/src/ModerationStateTransitionListBuilder.php, line 65 Class ModerationStateTransitionListBuilder Provides a listing of Moderation state transition entities. Namespace Drupal\content_moderation Code public function getFormId() { return 'content_moderati

ModerationStateTransitionListBuilder::createInstance

public static ModerationStateTransitionListBuilder::createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) Instantiates a new instance of this entity handler. This is a factory method that returns a new instance of this object. The factory should pass any needed dependencies into the constructor of this object, but not the container itself. Every call to this method must return a new instance of this object; that is, it may not implement a singleton. Parameters \Symfon

ModerationStateTransitionListBuilder::buildRow

public ModerationStateTransitionListBuilder::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 DraggableListBuilder::buildRow See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/content_moderation/src/ModerationStateTransitionListBuilder.php, line 83 Class Mode

ModerationStateTransitionListBuilder::buildHeader

public ModerationStateTransitionListBuilder::buildHeader() Builds the header row for the entity listing. Return value array A render array structure of header strings. Overrides DraggableListBuilder::buildHeader See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/content_moderation/src/ModerationStateTransitionListBuilder.php, line 72 Class ModerationStateTransitionListBuilder Provides a listing of Moderation state transition entities. Namespace Drupal\content_m

ModerationStateTransitionListBuilder::buildForm

public ModerationStateTransitionListBuilder::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides DraggableListBuilder::buildForm File core/modules/content_moderation/src/ModerationStateTransitionListBuilder.php, line 109 Class ModerationStateTransitionListBui

ModerationStateTransitionListBuilder::$roleStorage

The role storage. Type: \Drupal\user\RoleStorageInterface File core/modules/content_moderation/src/ModerationStateTransitionListBuilder.php, line 30 Class ModerationStateTransitionListBuilder Provides a listing of Moderation state transition entities. Namespace Drupal\content_moderation Code protected $roleStorage;

ModerationStateTransitionListBuilder

Provides a listing of Moderation state transition entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\Core\Config\Entity\ConfigEntityListBuilderclass \Drupal\Core\Config\Entity\DraggableListBuilder implements FormInterfaceclass \Drupal\content_moderation\ModerationStateTransitionListBuilder File core/mo