CommentTypeListBuilder::buildHeader

public CommentTypeListBuilder::buildHeader() Builds the header row for the entity listing. Return value array A render array structure of header strings. Overrides EntityListBuilder::buildHeader See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/comment/src/CommentTypeListBuilder.php, line 31 Class CommentTypeListBuilder Defines a class to build a listing of comment type entities. Namespace Drupal\comment Code public function buildHeader() { $header['type']

EntityAccessControlHandler::$entityTypeId

The entity type ID of the access control handler instance. Type: string File core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php, line 28 Class EntityAccessControlHandler Defines a default implementation for entity access control handler. Namespace Drupal\Core\Entity Code protected $entityTypeId;

EntityAccessControlHandler::checkCreateAccess

protected EntityAccessControlHandler::checkCreateAccess(AccountInterface $account, array $context, $entity_bundle = NULL) Performs create access checks. This method is supposed to be overwritten by extending classes that do their own custom access checking. Parameters \Drupal\Core\Session\AccountInterface $account: The user for which to check access. array $context: An array of key-value pairs to pass additional context when needed. string|null $entity_bundle: (optional) The bundle of the enti

InPlaceEditor::$id

The plugin ID. Type: string File core/modules/quickedit/src/Annotation/InPlaceEditor.php, line 28 Class InPlaceEditor Defines an InPlaceEditor annotation object. Namespace Drupal\quickedit\Annotation Code public $id;

EntityAccessControlHandlerInterface::access

public EntityAccessControlHandlerInterface::access(EntityInterface $entity, $operation, AccountInterface $account = NULL, $return_as_object = FALSE) Checks access to an operation on a given entity or entity translation. Use \Drupal\Core\Entity\EntityAccessControlHandlerInterface::createAccess() to check access to create an entity. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for which to check access. string $operation: The operation access should be checked for. Usually

editor_form_filter_admin_format_validate

editor_form_filter_admin_format_validate($form, FormStateInterface $form_state) Additional validate handler for filter_format_form(). File core/modules/editor/editor.module, line 215 Adds bindings for client-side "text editors" to text formats. Code function editor_form_filter_admin_format_validate($form, FormStateInterface $form_state) { // This validate handler is not applicable when using the 'Configure' button. if ($form_state->getTriggeringElement()['#name'] === 'editor_configure'

AccessResultAllowed

Value object indicating an allowed access result, with cacheability metadata. Hierarchy class \Drupal\Core\Access\AccessResult implements AccessResultInterface, RefinableCacheableDependencyInterface uses RefinableCacheableDependencyTraitclass \Drupal\Core\Access\AccessResultAllowed File core/lib/Drupal/Core/Access/AccessResultAllowed.php, line 8 Namespace Drupal\Core\Access Members Name Modifiers Type Description AccessResult::allowed public static function Creates an A

Select::fields

public Select::fields($table_alias, array $fields = array()) Add multiple fields from the same table to be SELECTed. This method does not return the aliases set for the passed fields. In the majority of cases that is not a problem, as the alias will be the field name. However, if you do need to know the alias you can call getFields() and examine the result to determine what alias was created. Alternatively, simply use addField() for the few fields you care about and this method for the rest. Pa

FeedViewBuilder::__construct

public FeedViewBuilder::__construct(EntityTypeInterface $entity_type, EntityManagerInterface $entity_manager, LanguageManagerInterface $language_manager, Config $config) Constructs a new FeedViewBuilder. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service. \Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager. \Drupal\Core\Config\Confi

hook_entity_bundle_field_info_alter

hook_entity_bundle_field_info_alter(&$fields, \Drupal\Core\Entity\EntityTypeInterface $entity_type, $bundle) Alter bundle field definitions. @todo WARNING: This hook will be changed in https://www.drupal.org/node/2346347. Parameters \Drupal\Core\Field\FieldDefinitionInterface[] $fields: The array of bundle field definitions. \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. string $bundle: The bundle. See also hook_entity_base_field_info() hook_entity_base_