EntityDisplayFormBase::alterSettingsSummary

abstract protected EntityDisplayFormBase::alterSettingsSummary(array &$summary, PluginSettingsInterface $plugin, FieldDefinitionInterface $field_definition) Alters the widget or formatter settings summary. Parameters array $summary: The widget or formatter settings summary. \Drupal\Core\Field\PluginSettingsInterface $plugin: The widget or formatter. \Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition. File core/modules/field_ui/src/Form/EntityDisplayFormBase

Datelist::checkEmptyInputs

protected static Datelist::checkEmptyInputs($input, $parts) Checks the input array for empty values. Input array keys are checked against values in the parts array. Elements not in the parts array are ignored. Returns an array representing elements from the input array that have no value. If no empty values are found, returned array is empty. Parameters array $input: Array of individual inputs to check for value. array $parts: Array to check input against, ignoring elements not in this array.

ConfigEntityMapper::getType

public ConfigEntityMapper::getType() Gets the entity type from this mapper. Return value string File core/modules/config_translation/src/ConfigEntityMapper.php, line 199 Class ConfigEntityMapper Configuration mapper for configuration entities. Namespace Drupal\config_translation Code public function getType() { return $this->entityType; }

ShortcutInterface

Provides an interface defining a shortcut entity. Hierarchy interface \Drupal\Core\Entity\FieldableEntityInterface; interface \Drupal\Core\Entity\RevisionableInterface; interface \Drupal\Core\TypedData\TranslatableInterfaceinterface \Drupal\Core\Entity\ContentEntityInterface extends \Traversableinterface \Drupal\shortcut\ShortcutInterface File core/modules/shortcut/src/ShortcutInterface.php, line 10 Namespace Drupal\shortcut Members Name Modifiers Type Description Accessible

contact_post_update_add_message_redirect_field_to_contact_form

contact_post_update_add_message_redirect_field_to_contact_form() Initialize 'message' and 'redirect' field values to 'contact_form' entities. File core/modules/contact/contact.post_update.php, line 18 Post update functions for Contact. Code function contact_post_update_add_message_redirect_field_to_contact_form() { /** @var \Drupal\contact\ContactFormInterface $contact */ foreach (ContactForm::loadMultiple() as $contact) { $contact ->setMessage('Your message has been sent.')

DatabaseBackend::getMultiple

public DatabaseBackend::getMultiple(&$cids, $allow_invalid = FALSE) Returns data from the persistent cache when given an array of cache IDs. Parameters array $cids: An array of cache IDs for the data to retrieve. This is passed by reference, and will have the IDs successfully returned from cache removed. bool $allow_invalid: (optional) If TRUE, cache items may be returned even if they have expired or been invalidated. Such items may sometimes be preferred, if the alternative is recalculati

FormattedDateDiff::getString

public FormattedDateDiff::getString() Return value string File core/lib/Drupal/Core/Datetime/FormattedDateDiff.php, line 49 Class FormattedDateDiff Contains a formatted time difference. Namespace Drupal\Core\Datetime Code public function getString() { return $this->string; }

ComplexDataInterface::getProperties

public ComplexDataInterface::getProperties($include_computed = FALSE) Gets an array of property objects. Parameters bool $include_computed: If set to TRUE, computed properties are included. Defaults to FALSE. Return value \Drupal\Core\TypedData\TypedDataInterface[] An array of property objects implementing the TypedDataInterface, keyed by property name. Throws \Drupal\Core\TypedData\Exception\MissingDataException If the complex data structure is unset and no property can be created. File cor

SelectLanguageForm

Provides the language selection form. Note that hardcoded text provided by this form is not translated. This is because translations are downloaded as a result of submitting this form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Installer\Form\SelectLanguageForm File core/lib/Drup

ViewsCache::$short_title

(optional) The short title used in the views UI. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/views/src/Annotation/ViewsCache.php, line 39 Class ViewsCache Defines a Plugin annotation object for views cache plugins. Namespace Drupal\views\Annotation Code public $short_title = '';