NodeViewController

Defines a controller to render a single node. Hierarchy class \Drupal\Core\Entity\Controller\EntityViewController implements ContainerInjectionInterfaceclass \Drupal\node\Controller\NodeViewController File core/modules/node/src/Controller/NodeViewController.php, line 15 Namespace Drupal\node\Controller Members Name Modifiers Type Description EntityViewController::$entityManager protected property The entity manager EntityViewController::$renderer protected propert

File::setOwnerId

public File::setOwnerId($uid) Sets the entity owner's user ID. Parameters int $uid: The owner user id. Return value $this Overrides EntityOwnerInterface::setOwnerId File core/modules/file/src/Entity/File.php, line 129 Class File Defines the file entity class. Namespace Drupal\file\Entity Code public function setOwnerId($uid) { $this->set('uid', $uid); return $this; }

QueryAggregateInterface

Defines a interface for aggregated entity queries. Hierarchy interface \Drupal\Core\Database\Query\AlterableInterfaceinterface \Drupal\Core\Entity\Query\QueryInterfaceinterface \Drupal\Core\Entity\Query\QueryAggregateInterface File core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php, line 8 Namespace Drupal\Core\Entity\Query Members Name Modifiers Type Description AlterableInterface::addMetaData public function Adds additional metadata to the query. Alterab

FieldItemDataDefinition::getPropertyDefinition

public FieldItemDataDefinition::getPropertyDefinition($name) Gets the definition of a contained property. Parameters string $name: The name of property. Return value \Drupal\Core\TypedData\DataDefinitionInterface|null The definition of the property or NULL if the property does not exist. Overrides ComplexDataDefinitionInterface::getPropertyDefinition File core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php, line 58 Class FieldItemDataDefinition A typed data definition class

ThemeCacheContext::getLabel

public static ThemeCacheContext::getLabel() Returns the label of the cache context. Return value string The label of the cache context. Overrides CacheContextInterface::getLabel File core/lib/Drupal/Core/Cache/Context/ThemeCacheContext.php, line 35 Class ThemeCacheContext Defines the ThemeCacheContext service, for "per theme" caching. Namespace Drupal\Core\Cache\Context Code public static function getLabel() { return t('Theme'); }

LanguageConfigOverride::delete

public LanguageConfigOverride::delete() Deletes the configuration object. Must invalidate the cache tags associated with the configuration object. Return value $this Overrides StorableConfigBase::delete File core/modules/language/src/Config/LanguageConfigOverride.php, line 73 Class LanguageConfigOverride Defines language configuration overrides. Namespace Drupal\language\Config Code public function delete() { $this->data = array(); $this->storage->delete($this->name);

ListCacheBinsPass::process

public ListCacheBinsPass::process(ContainerBuilder $container) Implements CompilerPassInterface::process(). Collects the cache bins into the cache_bins parameter. Overrides CompilerPassInterface::process File core/lib/Drupal/Core/Cache/ListCacheBinsPass.php, line 18 Class ListCacheBinsPass Adds cache_bins parameter to the container. Namespace Drupal\Core\Cache Code public function process(ContainerBuilder $container) { $cache_bins = array(); $cache_default_bin_backends = array();

WidgetBase::$settings

The widget settings. Type: array Overrides PluginSettingsBase::$settings File core/lib/Drupal/Core/Field/WidgetBase.php, line 34 Class WidgetBase Base class for 'Field widget' plugin implementations. Namespace Drupal\Core\Field Code protected $settings;

OutboundPathProcessorInterface

Defines an interface for classes that process the outbound path. Hierarchy interface \Drupal\Core\PathProcessor\OutboundPathProcessorInterface File core/lib/Drupal/Core/PathProcessor/OutboundPathProcessorInterface.php, line 11 Namespace Drupal\Core\PathProcessor Members Name Modifiers Type Description OutboundPathProcessorInterface::processOutbound public function Processes the outbound path.

WidgetBase::addMoreSubmit

public static WidgetBase::addMoreSubmit(array $form, FormStateInterface $form_state) Submission handler for the "Add another item" button. File core/lib/Drupal/Core/Field/WidgetBase.php, line 269 Class WidgetBase Base class for 'Field widget' plugin implementations. Namespace Drupal\Core\Field Code public static function addMoreSubmit(array $form, FormStateInterface $form_state) { $button = $form_state->getTriggeringElement(); // Go one level up in the form, to the widgets cont