EntityController::editTitle

public EntityController::editTitle(RouteMatchInterface $route_match, EntityInterface $_entity = NULL) Provides a generic edit title callback. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The route match. \Drupal\Core\Entity\EntityInterface $_entity: (optional) An entity, passed in directly from the request attributes. Return value string|null The title for the entity edit page, if an entity was found. File core/lib/Drupal/Core/Entity/Controller/EntityController.php, line

SelectionInterface

Interface definition for Entity Reference Selection plugins. Hierarchy interface \Drupal\Core\Plugin\PluginFormInterfaceinterface \Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface See also \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManager \Drupal\Core\Entity\Annotation\EntityReferenceSelection Plugin API File core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php, line 15 Namespace Drupal\Core\Entity\EntityReferenceSelection Member

ShortcutSetForm::save

public ShortcutSetForm::save(array $form, FormStateInterface $form_state) Form submission handler for the 'save' action. Normally this method should be overridden to provide specific messages to the user and redirect the form after the entity has been saved. 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 int Either SAVED_NEW or SAVED_UPDATED, depending on the opera

Fast404ExceptionHtmlSubscriber::getHandledFormats

protected Fast404ExceptionHtmlSubscriber::getHandledFormats() Specifies the request formats this subscriber will respond to. Return value array An indexed array of the format machine names that this subscriber will attempt to process, such as "html" or "json". Returning an empty array will apply to all formats. Overrides HttpExceptionSubscriberBase::getHandledFormats See also \Symfony\Component\HttpFoundation\Request File core/lib/Drupal/Core/EventSubscriber/Fast404ExceptionHtmlSubscriber.php

ArchiverInterface::add

public ArchiverInterface::add($file_path) Adds the specified file or directory to the archive. Parameters string $file_path: The full system path of the file or directory to add. Only local files and directories are supported. Return value \Drupal\Core\Archiver\ArchiverInterface The called object. File core/lib/Drupal/Core/Archiver/ArchiverInterface.php, line 24 Class ArchiverInterface Defines the common interface for all Archiver classes. Namespace Drupal\Core\Archiver Code public f

LocalTaskDefault::setActive

public LocalTaskDefault::setActive($active = TRUE) Sets the active status. Parameters bool $active: Sets whether this tab is active (e.g. a parent of the current tab). Return value \Drupal\Core\Menu\LocalTaskInterface The called object for chaining. Overrides LocalTaskInterface::setActive File core/lib/Drupal/Core/Menu/LocalTaskDefault.php, line 118 Class LocalTaskDefault Default object used for LocalTaskPlugins. Namespace Drupal\Core\Menu Code public function setActive($active = TRU

quickedit_field_formatter_info_alter

quickedit_field_formatter_info_alter(&$info) Implements hook_field_formatter_info_alter(). Quick Edit extends the @FieldFormatter annotation with the following keys: quickedit: currently only contains one subkey 'editor' which indicates which in-place editor should be used. Possible values are 'form', 'plain_text', 'disabled' or another in-place editor other than the ones Quick Edit module provides. File core/modules/quickedit/quickedit.module, line 107 Provides in-place content editing

Message::getSubject

public Message::getSubject() Returns the message subject. Return value string The message subject. Overrides MessageInterface::getSubject File core/modules/contact/src/Entity/Message.php, line 81 Class Message Defines the contact message entity. Namespace Drupal\contact\Entity Code public function getSubject() { return $this->get('subject')->value; }

ModerationStateTransitionDeleteForm

Builds the form to delete Moderation state transition entities. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\EntityConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\content_moderation\Form\ModerationSt

EntityStorageBase::getQueryServiceName

abstract protected EntityStorageBase::getQueryServiceName() Gets the name of the service for the query for this entity storage. Return value string The name of the service for the query for this entity storage. File core/lib/Drupal/Core/Entity/EntityStorageBase.php, line 531 Class EntityStorageBase A base entity storage class. Namespace Drupal\Core\Entity Code abstract protected function getQueryServiceName();