EntityListBuilder::render

public EntityListBuilder::render() Builds the entity listing as renderable array for table.html.twig. @todo Add a link to add a new item to the #empty text. Overrides EntityListBuilderInterface::render File core/lib/Drupal/Core/Entity/EntityListBuilder.php, line 216 Class EntityListBuilder Defines a generic implementation to build a listing of entities. Namespace Drupal\Core\Entity Code public function render() { $build['table'] = array( '#type' => 'table', '#header' =>

hook_verify_update_archive

hook_verify_update_archive($project, $archive_file, $directory) Verify an archive after it has been downloaded and extracted. Parameters string $project: The short name of the project that has been downloaded. string $archive_file: The filename of the unextracted archive. string $directory: The directory that the archive was extracted into. Return value If there are any problems, return an array of error messages. If there are no problems, return an empty array. See also update_manager_archi

ItemStorage

Controller class for aggregators items. This extends the Drupal\Core\Entity\Sql\SqlContentEntityStorage class, adding required special handling for feed item entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityStorageBase implements EntityHandlerInterface, EntityStorageInterfaceclass \Drupal\Core\Entity\ContentEntityStorageBase implements ContentEntityStorageInterface, DynamicallyFieldableEntity

CssCommand::$css

An array of property/value pairs to set in the CSS for the selector. Type: array File core/lib/Drupal/Core/Ajax/CssCommand.php, line 35 Class CssCommand An AJAX command for calling the jQuery css() method. Namespace Drupal\Core\Ajax Code protected $css = array();

ListInterface

Interface for a list of typed data. A list of typed data contains only items of the same type, is ordered and may contain duplicates. Note that the data type of a list is always 'list'. When implementing this interface which extends Traversable, make sure to list IteratorAggregate or Iterator before this interface in the implements clause. Hierarchy interface \Drupal\Core\TypedData\TypedDataInterfaceinterface \Drupal\Core\TypedData\TraversableTypedDataInterface extends \Traversableinterface \Dr

UserAccessControlHandler::checkFieldAccess

protected UserAccessControlHandler::checkFieldAccess($operation, FieldDefinitionInterface $field_definition, AccountInterface $account, FieldItemListInterface $items = NULL) Default field access as determined by this access control handler. Parameters string $operation: The operation access should be checked for. Usually one of "view" or "edit". \Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition. \Drupal\Core\Session\AccountInterface $account: The user session

SelectExtender::getFields

public &SelectExtender::getFields() Returns a reference to the fields array for this query. Because this method returns by reference, alter hooks may edit the fields array directly to make their changes. If just adding fields, however, the use of addField() is preferred. Note that this method must be called by reference as well: $fields =& $query->getFields(); Return value A reference to the fields array structure. Overrides SelectInterface::getFields File core/lib/Drupal/Core/Data

NodeViewsData

Provides the views data for the node entity type. Hierarchy class \Drupal\views\EntityViewsData implements EntityHandlerInterface, EntityViewsDataInterface uses StringTranslationTraitclass \Drupal\node\NodeViewsData File core/modules/node/src/NodeViewsData.php, line 10 Namespace Drupal\node Members Name Modifiers Type Description EntityViewsData::$entityManager protected property The entity manager. EntityViewsData::$entityType protected property Entity type for

Field Types API

Defines field, widget, display formatter, and storage types. In the Field API, each field has a type, which determines what kind of data (integer, string, date, etc.) the field can hold, which settings it provides, and so on. The data type(s) accepted by a field are defined in hook_field_schema(). Field types are plugins annotated with class \Drupal\Core\Field\Annotation\FieldType, and implement plugin interface \Drupal\Core\Field\FieldItemInterface. Field Type plugins are managed by the \Drupa

View::$base_table

The name of the base table this view will use. Type: string File core/modules/views/src/Entity/View.php, line 48 Class View Defines a View configuration entity class. Namespace Drupal\views\Entity Code protected $base_table = 'node';