ContentEntityType::getConfigDependencyKey

public ContentEntityType::getConfigDependencyKey() Gets the key that is used to store configuration dependencies. Return value string The key to be used in configuration dependencies when storing dependencies on entities of this type. Overrides EntityType::getConfigDependencyKey File core/lib/Drupal/Core/Entity/ContentEntityType.php, line 24 Class ContentEntityType Provides an implementation of a content entity type and its metadata. Namespace Drupal\Core\Entity Code public function g

ViewUI::set

public ViewUI::set($property_name, $value, $notify = TRUE) Sets the value of a property. Parameters string $property_name: The name of the property that should be set. mixed $value: The value the property should be set to. Return value $this Overrides ConfigEntityInterface::set File core/modules/views_ui/src/ViewUI.php, line 170 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function set($property_name, $value, $notify = TRUE) { if (propert

Views template files

Describes various views templates & overriding options. All views templates can be overridden with a variety of names, using the view, the display ID of the view, the display type of the view, or some combination thereof. For each view, there will be a minimum of two templates used. The first is used for all views: views-view.html.twig. The second template is determined by the style selected for the view. Note that certain aspects of the view can also change which style is used; for example

PlaceholderInterface::uniqueIdentifier

public PlaceholderInterface::uniqueIdentifier() Returns a unique identifier for this object. File core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php, line 13 Class PlaceholderInterface Interface for a query that accepts placeholders. Namespace Drupal\Core\Database\Query Code public function uniqueIdentifier();

Term::postSave

public Term::postSave(EntityStorageInterface $storage, $update = TRUE) Acts on a saved entity before the insert or update hook is invoked. Used after the entity is saved, but before invoking the insert or update hook. Note that in case of translatable content entities this callback is only fired on their current translation. It is up to the developer to iterate over all translations if needed. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. bool $upda

FieldStorageAddForm::create

public static FieldStorageAddForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The serv

RedirectCommand::$url

The URL that will be loaded into window.location. Type: string File core/lib/Drupal/Core/Ajax/RedirectCommand.php, line 17 Class RedirectCommand Defines an AJAX command to set the window.location, loading that URL. Namespace Drupal\Core\Ajax Code protected $url;

EntityViewsData::$storage

The storage used for this entity type. Type: \Drupal\Core\Entity\Sql\SqlEntityStorageInterface File core/modules/views/src/EntityViewsData.php, line 37 Class EntityViewsData Provides generic views integration for entities. Namespace Drupal\views Code protected $storage;

DataDefinitionInterface::getDescription

public DataDefinitionInterface::getDescription() Returns a human readable description. Descriptions are usually used on user interfaces where the data is edited or displayed. Return value string|null The description, or NULL if no description is available. File core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php, line 75 Class DataDefinitionInterface Interface for data definitions. Namespace Drupal\Core\TypedData Code public function getDescription();

MessageForm::__construct

public MessageForm::__construct(EntityManagerInterface $entity_manager, FloodInterface $flood, LanguageManagerInterface $language_manager, MailHandlerInterface $mail_handler, DateFormatterInterface $date_formatter) Constructs a MessageForm object. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. \Drupal\Core\Flood\FloodInterface $flood: The flood control mechanism. \Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager s