StringInterface::getLocations

public StringInterface::getLocations($check_only = FALSE) Gets location information for this string. Locations are arbitrary pairs of type and name strings, used to store information about the origins of the string, like the file name it was found on, the path on which it was discovered, etc. A string can have any number of locations since the same string may be found on different places of Drupal code and configuration. Parameters bool $check_only: (optional) Set to TRUE to get only new locat

batch_set

batch_set($batch_definition) Adds a new batch. Batch operations are added as new batch sets. Batch sets are used to spread processing (primarily, but not exclusively, forms processing) over several page requests. This helps to ensure that the processing is not interrupted due to PHP timeouts, while users are still able to receive feedback on the progress of the ongoing operations. Combining related operations into distinct batch sets provides clean code independence for each batch set, ensuring

ViewsData::$langcode

The current language code. Type: string File core/modules/views/src/ViewsData.php, line 74 Class ViewsData Class to manage and lazy load cached views data. Namespace Drupal\views Code protected $langcode;

FieldItemInterface

Interface for entity field items. Entity field items are typed data objects containing the field values, i.e. implementing the ComplexDataInterface. When implementing this interface which extends Traversable, make sure to list IteratorAggregate or Iterator before this interface in the implements clause. Hierarchy interface \Drupal\Core\TypedData\TypedDataInterfaceinterface \Drupal\Core\TypedData\TraversableTypedDataInterface extends \Traversableinterface \Drupal\Core\TypedData\ComplexDataInterf

BlockDeleteForm

Provides a deletion confirmation form for the block instance deletion form. 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\Core\Entity\EntityDelete

ModerationHandlerInterface::enforceRevisionsBundleFormAlter

public ModerationHandlerInterface::enforceRevisionsBundleFormAlter(array &$form, FormStateInterface $form_state, $form_id) Alters bundle forms to enforce revision handling. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. string $form_id: The form id. See also hook_form_alter() File core/modules/content_moderation/src/Entity/Handler/ModerationHandlerInterface.php, line 71

ModerationHandler::createInstance

public static ModerationHandler::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 \Symfony\Component\Depende

ModulesListForm::buildForm

public ModulesListForm::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 FormInterface::buildForm File core/modules/system/src/Form/ModulesListForm.php, line 115 Class ModulesListForm Provides module installation interface. Namespace Drupal\system\Form

NullBackend::set

public NullBackend::set($cid, $data, $expire = Cache::PERMANENT, array $tags = array()) Stores data in the persistent cache. Core cache implementations set the created time on cache item with microtime(TRUE) rather than REQUEST_TIME_FLOAT, because the created time of cache items should match when they are created, not when the request started. Apart from being more accurate, this increases the chance an item will legitimately be considered valid. Parameters string $cid: The cache ID of the dat

InvalidLibraryFileException

Defines an exception if the library file could not be parsed. Hierarchy class \Drupal\Core\Asset\Exception\InvalidLibraryFileException extends \RunTimeException File core/lib/Drupal/Core/Asset/Exception/InvalidLibraryFileException.php, line 8 Namespace Drupal\Core\Asset\Exception Members