MenuLinkResetForm::getConfirmText

public MenuLinkResetForm::getConfirmText() Returns a caption for the button that confirms the action. Return value string The form confirmation text. Overrides ConfirmFormBase::getConfirmText File core/modules/menu_ui/src/Form/MenuLinkResetForm.php, line 84 Class MenuLinkResetForm Defines a confirmation form for resetting a single modified menu link. Namespace Drupal\menu_ui\Form Code public function getConfirmText() { return $this->t('Reset'); }

CommentTypeInterface::setDescription

public CommentTypeInterface::setDescription($description) Sets the description of the comment type. Parameters string $description: The new description. Return value $this File core/modules/comment/src/CommentTypeInterface.php, line 28 Class CommentTypeInterface Provides an interface defining a comment type entity. Namespace Drupal\comment Code public function setDescription($description);

EntityDefinitionUpdateManager::installEntityType

public EntityDefinitionUpdateManager::installEntityType(EntityTypeInterface $entity_type) Installs a new entity type definition. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. Overrides EntityDefinitionUpdateManagerInterface::installEntityType File core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php, line 133 Class EntityDefinitionUpdateManager Manages entity definition updates. Namespace Drupal\Core\Entity Code public function i

StackedRouteMatchInterface::getCurrentRouteMatch

public StackedRouteMatchInterface::getCurrentRouteMatch() Gets the current route match. Return value \Drupal\Core\Routing\RouteMatchInterface File core/lib/Drupal/Core/Routing/StackedRouteMatchInterface.php, line 19 Class StackedRouteMatchInterface Defines an interface for a stack of route matches. Namespace Drupal\Core\Routing Code public function getCurrentRouteMatch();

QueueWorkerManager::createInstance

public QueueWorkerManager::createInstance($plugin_id, array $configuration = []) Return value \Drupal\Core\Queue\QueueWorkerInterface Overrides PluginManagerBase::createInstance File core/lib/Drupal/Core/Queue/QueueWorkerManager.php, line 56 Class QueueWorkerManager Defines the queue worker manager. Namespace Drupal\Core\Queue Code public function createInstance($plugin_id, array $configuration = []) { return parent::createInstance($plugin_id, $configuration); }

FormErrorHandler::$renderer

The renderer service. Type: \Drupal\Core\Render\RendererInterface File core/modules/inline_form_errors/src/FormErrorHandler.php, line 29 Class FormErrorHandler Produces inline form errors. Namespace Drupal\inline_form_errors Code protected $renderer;

KeyValueStoreInterface::delete

public KeyValueStoreInterface::delete($key) Deletes an item from the key/value store. Parameters string $key: The item name to delete. File core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php, line 110 Class KeyValueStoreInterface Defines the interface for key/value store implementations. Namespace Drupal\Core\KeyValueStore Code public function delete($key);

EntityReferenceFieldItemList::referencedEntities

public EntityReferenceFieldItemList::referencedEntities() Gets the entities referenced by this field, preserving field item deltas. Return value \Drupal\Core\Entity\EntityInterface[] An array of entity objects keyed by field item deltas. Overrides EntityReferenceFieldItemListInterface::referencedEntities File core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php, line 26 Class EntityReferenceFieldItemList Defines a item list class for entity reference fields. Namespace Drupal\Cor

FileTransfer::copyFile

public final FileTransfer::copyFile($source, $destination) Copies a file. Parameters string $source: The source file. string $destination: The destination file. File core/lib/Drupal/Core/FileTransfer/FileTransfer.php, line 181 Class FileTransfer Defines the base FileTransfer class. Namespace Drupal\Core\FileTransfer Code public final function copyFile($source, $destination) { $source = $this->sanitizePath($source); $destination = $this->fixRemotePath($destination); $this-&

ContentEntityStorageBase::hasData

public ContentEntityStorageBase::hasData() Determines if the storage contains any data. Return value bool TRUE if the storage contains data, FALSE if not. Overrides DynamicallyFieldableEntityStorageInterface::hasData File core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 68 Class ContentEntityStorageBase Base class for content entity storage handlers. Namespace Drupal\Core\Entity Code public function hasData() { return (bool) $this->getQuery() ->accessCheck(FA