FieldItemBase::__set

public FieldItemBase::__set($name, $value) Magic method: Sets a property value. Parameters $property_name: The name of the property to set; e.g., 'title' or 'name'. $value: The value to set, or NULL to unset the property. Optionally, a typed data object implementing Drupal\Core\TypedData\TypedDataInterface may be passed instead of a plain value. Throws \InvalidArgumentException If a not existing property is set. Overrides FieldItemInterface::__set File core/lib/Drupal/Core/Field/FieldItemBase

ModifyServiceDefinitionsPass

Passes the container to the alter() method of all service providers. Hierarchy class \Drupal\Core\DependencyInjection\Compiler\ModifyServiceDefinitionsPass implements CompilerPassInterface File core/lib/Drupal/Core/DependencyInjection/Compiler/ModifyServiceDefinitionsPass.php, line 13 Namespace Drupal\Core\DependencyInjection\Compiler Members Name Modifiers Type Description ModifyServiceDefinitionsPass::process public function You can modify the container here before it

EntityConfirmFormBase::save

public EntityConfirmFormBase::save(array $form, FormStateInterface $form_state) The save() method is not used in EntityConfirmFormBase. This overrides the default implementation that saves the entity. Confirmation forms should override submitForm() instead for their logic. Overrides EntityForm::save File core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php, line 94 Class EntityConfirmFormBase Provides a generic base class for an entity-based confirmation form. Namespace Drupal\Core\En

FieldUiRouteEnhancer::$entityManager

The entity manager. Type: \Drupal\Core\Entity\EntityManagerInterface File core/modules/field_ui/src/Routing/FieldUiRouteEnhancer.php, line 20 Class FieldUiRouteEnhancer Enhances Field UI routes by adding proper information about the bundle name. Namespace Drupal\field_ui\Routing Code protected $entityManager;

EntityStorageBase::getEntityType

public EntityStorageBase::getEntityType() Gets the entity type definition. Return value \Drupal\Core\Entity\EntityTypeInterface Entity type definition. Overrides EntityStorageInterface::getEntityType File core/lib/Drupal/Core/Entity/EntityStorageBase.php, line 100 Class EntityStorageBase A base entity storage class. Namespace Drupal\Core\Entity Code public function getEntityType() { return $this->entityType; }

FieldUiTable::reduceOrder

public static FieldUiTable::reduceOrder($array, $a) Determines the rendering order of an array representing a tree. Callback for array_reduce() within ::tablePreRender(). Parameters mixed $array: Holds the return value of the previous iteration; in the case of the first iteration it instead holds the value of the initial array. mixed $a: Holds the value of the current iteration. Return value array Array where rendering order has been determined. File core/modules/field_ui/src/Element/FieldUiT

View::preSave

public View::preSave(EntityStorageInterface $storage) Acts on an entity before the presave hook is invoked. Used before the entity is saved and before invoking the presave 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. This is different from its counterpart in the Field API, FieldItemListInterface::preSave(), which is fired on all field translations automatic

Database::isActiveConnection

final public static Database::isActiveConnection() Determines if there is an active connection. Note that this method will return FALSE if no connection has been established yet, even if one could be. Return value bool TRUE if there is at least one database connection established, FALSE otherwise. File core/lib/Drupal/Core/Database/Database.php, line 181 Class Database Primary front-controller for the database system. Namespace Drupal\Core\Database Code final public static function is

ResponsiveImageStyleInterface::setFallbackImageStyle

public ResponsiveImageStyleInterface::setFallbackImageStyle($fallback_image_style) Sets the fallback image style for the responsive image style. Parameters string $fallback_image_style: The fallback image style ID. Return value $this File core/modules/responsive_image/src/ResponsiveImageStyleInterface.php, line 77 Class ResponsiveImageStyleInterface Provides an interface defining a responsive_image mapping entity. Namespace Drupal\responsive_image Code public function setFallbackImag

ImageToolkitOperationManager::createInstance

public ImageToolkitOperationManager::createInstance($plugin_id, array $configuration = array(), ImageToolkitInterface $toolkit = NULL) Creates a pre-configured instance of a plugin. Parameters string $plugin_id: The ID of the plugin being instantiated. array $configuration: An array of configuration relevant to the plugin instance. Return value object A fully configured plugin instance. Throws \Drupal\Component\Plugin\Exception\PluginException If the instance cannot be created, such as if th