UserInterface::getCreatedTime

public UserInterface::getCreatedTime() Returns the creation time of the user as a UNIX timestamp. Return value int Timestamp of the creation date. File core/modules/user/src/UserInterface.php, line 90 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function getCreatedTime();

QueryBase::$pager

The query pager data. Type: array See also Query::pager() File core/lib/Drupal/Core/Entity/Query/QueryBase.php, line 118 Class QueryBase The base entity query class. Namespace Drupal\Core\Entity\Query Code protected $pager = array();

StatusMessages::generatePlaceholder

public static StatusMessages::generatePlaceholder(array $element) #pre_render callback to generate a placeholder. Parameters array $element: A renderable array. Return value array The updated renderable array containing the placeholder. File core/lib/Drupal/Core/Render/Element/StatusMessages.php, line 47 Class StatusMessages Provides a messages element. Namespace Drupal\Core\Render\Element Code public static function generatePlaceholder(array $element) { $element = [ '#lazy_bui

BlockContentTypeInterface

Provides an interface defining a custom block type entity. Hierarchy interface \Drupal\Core\Entity\EntityInterface; interface \Drupal\Core\Config\Entity\ThirdPartySettingsInterfaceinterface \Drupal\Core\Config\Entity\ConfigEntityInterfaceinterface \Drupal\block_content\BlockContentTypeInterface File core/modules/block_content/src/BlockContentTypeInterface.php, line 10 Namespace Drupal\block_content Members Name Modifiers Type Description AccessibleInterface::access public

MarkupTrait::create

public static MarkupTrait::create($string) Creates a Markup object if necessary. If $string is equal to a blank string then it is not necessary to create a Markup object. If $string is an object that implements MarkupInterface it is returned unchanged. Parameters mixed $string: The string to mark as safe. This value will be cast to a string. Return value string|\Drupal\Component\Render\MarkupInterface A safe string. File core/lib/Drupal/Component/Render/MarkupTrait.php, line 34 Class Mark

CommentInterface::setAuthorName

public CommentInterface::setAuthorName($name) Sets the name of the author of the comment. Parameters string $name: A string containing the name of the author. Return value $this The class instance that this method is called on. File core/modules/comment/src/CommentInterface.php, line 121 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function setAuthorName($name);

CommentManagerInterface

Comment manager contains common functions to manage comment fields. Hierarchy interface \Drupal\comment\CommentManagerInterface File core/modules/comment/src/CommentManagerInterface.php, line 10 Namespace Drupal\comment Members Name Modifiers Type Description CommentManagerInterface::addBodyField public function Creates a comment_body field. CommentManagerInterface::COMMENT_MODE_FLAT constant Comments are displayed in a flat list - expanded. CommentManagerInter

BlockContentController::add

public BlockContentController::add(Request $request) Displays add custom block links for available types. Parameters \Symfony\Component\HttpFoundation\Request $request: The current request object. Return value array A render array for a list of the custom block types that can be added or if there is only one custom block type defined for the site, the function returns the custom block add page for that custom block type. File core/modules/block_content/src/Controller/BlockContentController.ph

EntityType::$revision_data_table

The name of the entity type's revision data table. Type: string|null File core/lib/Drupal/Core/Entity/EntityType.php, line 154 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code protected $revision_data_table = NULL;

taxonomy_check_vocabulary_hierarchy

taxonomy_check_vocabulary_hierarchy(VocabularyInterface $vocabulary, $changed_term) Checks and updates the hierarchy flag of a vocabulary. Checks the current parents of all terms in a vocabulary and updates the vocabulary's hierarchy setting to the lowest possible level. If no term has parent terms then the vocabulary will be given a hierarchy of VocabularyInterface::HIERARCHY_DISABLED. If any term has a single parent then the vocabulary will be given a hierarchy of VocabularyInterface::HIERARC