EntityDisplayBase

Provides a common base class for entity view and form displays. Hierarchy class \Drupal\Core\Entity\Entity implements EntityInterface uses RefinableCacheableDependencyTrait, DependencySerializationTraitclass \Drupal\Core\Config\Entity\ConfigEntityBase implements ConfigEntityInterface uses PluginDependencyTraitclass \Drupal\Core\Entity\EntityDisplayBase implements EntityDisplayInterface File core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 13 Namespace Drupal\Core\Entity Member

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

hook_help

hook_help($route_name, \Drupal\Core\Routing\RouteMatchInterface $route_match) Provide online user help. By implementing hook_help(), a module can make documentation available to the user for the module as a whole, or for specific pages. Help for developers should usually be provided via function header comments in the code, or in special API example files. The page-specific help information provided by this hook appears in the Help block (provided by the core Help module), if the block is displ

AliasWhitelist::$aliasStorage

The Path CRUD service. Type: \Drupal\Core\Path\AliasStorageInterface File core/lib/Drupal/Core/Path/AliasWhitelist.php, line 27 Class AliasWhitelist Extends CacheCollector to build the path alias whitelist over time. Namespace Drupal\Core\Path Code protected $aliasStorage;

ConfigSync::$renderer

The renderer. Type: \Drupal\Core\Render\RendererInterface File core/modules/config/src/Form/ConfigSync.php, line 102 Class ConfigSync Construct the storage changes in a configuration synchronization form. Namespace Drupal\config\Form Code protected $renderer;

ImageToolkitOperationManager::$logger

A logger instance. Type: \Psr\Log\LoggerInterface File core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManager.php, line 28 Class ImageToolkitOperationManager Manages toolkit operation plugins. Namespace Drupal\Core\ImageToolkit Code protected $logger;

entity_render_cache_clear

entity_render_cache_clear() Clears the entity render cache for all entity types. File core/includes/entity.inc, line 15 Entity API for handling entities like nodes or users. Code function entity_render_cache_clear() { $entity_manager = Drupal::entityManager(); foreach ($entity_manager->getDefinitions() as $entity_type => $info) { if ($entity_manager->hasHandler($entity_type, 'view_builder')) { $entity_manager->getViewBuilder($entity_type)->resetCache(); } }

Undefined

Undefined configuration element. Hierarchy class \Drupal\Core\TypedData\TypedData implements PluginInspectionInterface, TypedDataInterface uses StringTranslationTrait, TypedDataTraitclass \Drupal\Core\Config\Schema\Elementclass \Drupal\Core\Config\Schema\Undefined File core/lib/Drupal/Core/Config/Schema/Undefined.php, line 8 Namespace Drupal\Core\Config\Schema Members Name Modifiers Type Description Element::$value protected property The configuration value. Element:

FormState::setAnyErrors

protected static FormState::setAnyErrors($errors = TRUE) Sets the global status of errors. Parameters bool $errors: TRUE if any form has any errors, FALSE otherwise. File core/lib/Drupal/Core/Form/FormState.php, line 1041 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code protected static function setAnyErrors($errors = TRUE) { static::$anyErrors = $errors; }