AnnotationBase::$provider

The provider of the annotated class. Type: string File core/lib/Drupal/Component/Annotation/AnnotationBase.php, line 29 Class AnnotationBase Provides a base class for classed annotations. Namespace Drupal\Component\Annotation Code protected $provider;

AjaxResponseAttachmentsProcessor::$config

A config object for the system performance configuration. Type: \Drupal\Core\Config\Config File core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php, line 36 Class AjaxResponseAttachmentsProcessor Processes attachments of AJAX responses. Namespace Drupal\Core\Ajax Code protected $config;

LocaleLookup::$stringStorage

The locale storage. Type: \Drupal\locale\StringStorageInterface File core/modules/locale/src/LocaleLookup.php, line 36 Class LocaleLookup A cache collector to allow for dynamic building of the locale cache. Namespace Drupal\locale Code protected $stringStorage;

EntityDisplayModeListBuilder::createInstance

public static EntityDisplayModeListBuilder::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\Compon

EntityOperations::__construct

public EntityOperations::__construct(ModerationInformationInterface $moderation_info, EntityTypeManagerInterface $entity_type_manager, FormBuilderInterface $form_builder, RevisionTrackerInterface $tracker) Constructs a new EntityOperations object. Parameters \Drupal\content_moderation\ModerationInformationInterface $moderation_info: Moderation information service. \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity type manager service. \Drupal\Core\Form\FormBuilderInte

Url::$internalPath

Stores the internal path, if already requested by getInternalPath(). Type: string File core/lib/Drupal/Core/Url.php, line 92 Class Url Defines an object that holds information about a URL. Namespace Drupal\Core Code protected $internalPath;

CronInterface::run

public CronInterface::run() Executes a cron run. Do not call this function from a test. Use $this->cronRun() instead. Return value bool TRUE upon success, FALSE otherwise. File core/lib/Drupal/Core/CronInterface.php, line 20 Class CronInterface An interface for running cron tasks. Namespace Drupal\Core Code public function run();

db_xor

db_xor() Returns a new DatabaseCondition, set to "XOR" all conditions together. Return value \Drupal\Core\Database\Query\Condition A new Condition object, set to "XOR" all conditions together. Deprecated as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Create a \Drupal\Core\Database\Query\Condition object, specifying an XOR conjunction: new Condition('XOR'); See also \Drupal\Core\Database\Query\Condition Related topics Database abstraction layer Allow the use of different database serv

Comment::getCreatedTime

public Comment::getCreatedTime() Returns the time that the comment was created. Return value int The timestamp of when the comment was created. Overrides CommentInterface::getCreatedTime File core/modules/comment/src/Entity/Comment.php, line 455 Class Comment Defines the comment entity class. Namespace Drupal\comment\Entity Code public function getCreatedTime() { if (isset($this->get('created')->value)) { return $this->get('created')->value; } return NULL; }

ContentTranslationMetadataWrapper::setFieldOnlyIfTranslatable

protected ContentTranslationMetadataWrapper::setFieldOnlyIfTranslatable($field_name, $value) Updates a field value, only if the field is translatable. Parameters string $field_name: The name of the field. mixed $value: The field value to be set. File core/modules/content_translation/src/ContentTranslationMetadataWrapper.php, line 144 Class ContentTranslationMetadataWrapper Base class for content translation metadata wrappers. Namespace Drupal\content_translation Code protected functio