Node::getCreatedTime

public Node::getCreatedTime() Gets the node creation timestamp. Return value int Creation timestamp of the node. Overrides NodeInterface::getCreatedTime File core/modules/node/src/Entity/Node.php, line 203 Class Node Defines the node entity class. Namespace Drupal\node\Entity Code public function getCreatedTime() { return $this->get('created')->value; }

ViewFormBase::isDefaultDisplayShown

public ViewFormBase::isDefaultDisplayShown(ViewUI $view) Controls whether or not the default display should have its own tab on edit. File core/modules/views_ui/src/ViewFormBase.php, line 142 Class ViewFormBase Base form for Views forms. Namespace Drupal\views_ui Code public function isDefaultDisplayShown(ViewUI $view) { // Always show the default display for advanced users who prefer that mode. $advanced_mode = \Drupal::config('views.settings')->get('ui.show.master_display');

forum_theme_suggestions_forums

forum_theme_suggestions_forums(array $variables) Implements hook_theme_suggestions_HOOK(). File core/modules/forum/forum.module, line 363 Provides discussion forums. Code function forum_theme_suggestions_forums(array $variables) { $suggestions = array(); $tid = $variables['term']->id(); // Provide separate template suggestions based on what's being output. Topic // ID is also accounted for. Check both variables to be safe then the inverse. // Forums with topic IDs take precedenc

ConfigFormBase::create

public static ConfigFormBase::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service c

TypedDataTrait::setTypedDataManager

public TypedDataTrait::setTypedDataManager(TypedDataManagerInterface $typed_data_manager) Sets the typed data manager. Parameters \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager: The typed data manager. Return value $this File core/lib/Drupal/Core/TypedData/TypedDataTrait.php, line 25 Class TypedDataTrait Wrapper methods for classes that needs typed data manager object. Namespace Drupal\Core\TypedData Code public function setTypedDataManager(TypedDataManagerInter

TypedData::setValue

public TypedData::setValue($value, $notify = TRUE) Sets the data value. Parameters mixed|null $value: The value to set in the format as documented for the data type or NULL to unset the data value. bool $notify: (optional) Whether to notify the parent object of the change. Defaults to TRUE. If a property is updated from a parent object, set it to FALSE to avoid being notified again. Throws \InvalidArgumentException If the value input is inappropriate. \Drupal\Core\TypedData\Exception\ReadOnly

EntityTypeInterface::getKeys

public EntityTypeInterface::getKeys() Gets an array of entity keys. Return value array An array describing how the Field API can extract certain information from objects of this entity type: id: The name of the property that contains the primary ID of the entity. Every entity object passed to the Field API must have this property and its value must be numeric. revision: (optional) The name of the property that contains the revision ID of the entity. The Field API assumes that all revision ID

FieldStorageDefinitionEvent::getOriginal

public FieldStorageDefinitionEvent::getOriginal() The original field storage definition. Return value \Drupal\Core\Field\FieldStorageDefinitionInterface File core/lib/Drupal/Core/Field/FieldStorageDefinitionEvent.php, line 54 Class FieldStorageDefinitionEvent Defines a base class for all field storage definition events. Namespace Drupal\Core\Field Code public function getOriginal() { return $this->original; }

DatabaseBackend::TABLE_NAME

The database table name. File core/lib/Drupal/Core/Flood/DatabaseBackend.php, line 17 Class DatabaseBackend Defines the database flood backend. This is the default Drupal backend. Namespace Drupal\Core\Flood Code const TABLE_NAME = 'flood';

RecursiveExtensionFilterIterator::accept

public RecursiveExtensionFilterIterator::accept() File core/lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterIterator.php, line 129 Class RecursiveExtensionFilterIterator Filters a RecursiveDirectoryIterator to discover extensions. Namespace Drupal\Core\Extension\Discovery Code public function accept() { $name = $this->current()->getFilename(); // FilesystemIterator::SKIP_DOTS only skips '.' and '..', but not hidden // directories (like '.git'). if ($name[0] ==