DiffFormatter::$show_header

Should a block header be shown? File core/lib/Drupal/Component/Diff/DiffFormatter.php, line 21 Class DiffFormatter A class to format Diffs Namespace Drupal\Component\Diff Code public $show_header = TRUE;

BlockContentType::getDescription

public BlockContentType::getDescription() Returns the description of the block type. Return value string The description of the type of this block. Overrides BlockContentTypeInterface::getDescription File core/modules/block_content/src/Entity/BlockContentType.php, line 76 Class BlockContentType Defines the custom block type entity. Namespace Drupal\block_content\Entity Code public function getDescription() { return $this->description; }

SharedTempStore::get

public SharedTempStore::get($key) Retrieves a value from this SharedTempStore for a given key. Parameters string $key: The key of the data to retrieve. Return value mixed The data associated with the key, or NULL if the key does not exist. File core/modules/user/src/SharedTempStore.php, line 110 Class SharedTempStore Stores and retrieves temporary data for a given owner. Namespace Drupal\user Code public function get($key) { if ($object = $this->storage->get($key)) { retu

hide

hide(&$element) Hides an element from later rendering. The first time render() or drupal_render() is called on an element tree, as each element in the tree is rendered, it is marked with a #printed flag and the rendered children of the element are cached. Subsequent calls to render() or drupal_render() will not traverse the child tree of this element again: they will just use the cached children. So if you want to hide an element, be sure to call hide() on the element before its parent tree

FieldStorageConfig::$cardinality

The field cardinality. The maximum number of values the field can hold. Possible values are positive integers or FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED. Defaults to 1. Type: int File core/modules/field/src/Entity/FieldStorageConfig.php, line 119 Class FieldStorageConfig Defines the Field storage configuration entity. Namespace Drupal\field\Entity Code protected $cardinality = 1;

Query::getComments

public &Query::getComments() Returns a reference to the comments array for the query. Because this method returns by reference, alter hooks may edit the comments array directly to make their changes. If just adding comments, however, the use of comment() is preferred. Note that this method must be called by reference as well: $comments =& $query->getComments(); Return value array A reference to the comments array structure. File core/lib/Drupal/Core/Database/Query/Query.php, line 1

FormStateInterface::isCached

public FormStateInterface::isCached() Determines if the form should be cached. Return value bool TRUE if the form should be cached, FALSE otherwise. File core/lib/Drupal/Core/Form/FormStateInterface.php, line 668 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code public function isCached();

ConfigController

Returns responses for config module routes. Hierarchy class \Drupal\config\Controller\ConfigController implements ContainerInjectionInterface File core/modules/config/src/Controller/ConfigController.php, line 19 Namespace Drupal\config\Controller Members Name Modifiers Type Description ConfigController::$configManager protected property The configuration manager. ConfigController::$diffFormatter protected property The diff formatter. ConfigController::$fileDown

Entity::isNew

public Entity::isNew() Determines whether the entity is new. Usually an entity is new if no ID exists for it yet. However, entities may be enforced to be new with existing IDs too. Return value bool TRUE if the entity is new, or FALSE if the entity has already been saved. Overrides EntityInterface::isNew See also \Drupal\Core\Entity\EntityInterface::enforceIsNew() File core/lib/Drupal/Core/Entity/Entity.php, line 125 Class Entity Defines a base entity class. Namespace Drupal\Core\Enti

UpdateProcessorInterface::createFetchTask

public UpdateProcessorInterface::createFetchTask($project) Adds a task to the queue for fetching release history data for a project. We only create a new fetch task if there's no task already in the queue for this particular project (based on 'update_fetch_task' key-value collection). Parameters array $project: Associative array of information about a project as created by \Drupal\Update\UpdateManager::getProjects(), including keys such as 'name' (short name), and the 'info' array with data fr