quickedit.module

Provides in-place content editing functionality for fields. The Quick Edit module makes content editable in-place. Rather than having to visit a separate page to edit content, it may be edited in-place. Technically, this module adds classes and data- attributes to fields and entities, enabling them for in-place editing. File core/modules/quickedit/quickedit.module Functions Name Description quickedit_entity_view_alter Implements hook_entity_view_alter(). quickedit_field_formatter_in

RdfMapping::setBundleMapping

public RdfMapping::setBundleMapping(array $mapping) Sets the mapping config for the bundle-level data. This only sets bundle-level mappings, such as the RDF type. Mappings for a bundle's fields should be handled with setFieldMapping. Example usage: -Map the 'article' bundle to 'sioc:Post'. rdf_get_mapping('node', 'article') ->setBundleMapping(array( 'types' => array('sioc:Post'), )) ->save(); Parameters array $mapping: The bundle mapping. Return value \Drupal\rdf\Entity\Rd

ConfigEntityListBuilder::load

public ConfigEntityListBuilder::load() Loads entities of this type from storage for listing. This allows the implementation to manipulate the listing, like filtering or sorting the loaded entities. Return value \Drupal\Core\Entity\EntityInterface[] An array of entities implementing \Drupal\Core\Entity\EntityInterface. Overrides EntityListBuilder::load File core/lib/Drupal/Core/Config/Entity/ConfigEntityListBuilder.php, line 18 Class ConfigEntityListBuilder Defines the default class to bui

LanguageAccessControlHandler

Defines the access control handler for the language entity type. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityAccessControlHandler implements EntityAccessControlHandlerInterfaceclass \Drupal\language\LanguageAccessControlHandler See also \Drupal\language\Entity\Language File core/modules/language/src/LanguageAccessControlHandler.php, line 15 Namespace Drupal\language Members Name Mod

CacheableResponseTrait

Provides an implementation of CacheableResponseInterface. Hierarchy trait \Drupal\Core\Cache\CacheableResponseTrait See also \Drupal\Core\Cache\CacheableResponseInterface File core/lib/Drupal/Core/Cache/CacheableResponseTrait.php, line 10 Namespace Drupal\Core\Cache Members Name Modifiers Type Description CacheableResponseTrait::$cacheabilityMetadata protected property The cacheability metadata. CacheableResponseTrait::addCacheableDependency public function Adds

StreamWrapperInterface::getName

public StreamWrapperInterface::getName() Returns the name of the stream wrapper for use in the UI. Return value string The stream wrapper name. File core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 111 Class StreamWrapperInterface Defines a Drupal stream wrapper extension. Namespace Drupal\Core\StreamWrapper Code public function getName();

Schema::addUniqueKey

public Schema::addUniqueKey($table, $name, $fields) Add a unique key. Parameters $table: The table to be altered. $name: The name of the key. $fields: An array of field names. Throws \Drupal\Core\Database\SchemaObjectDoesNotExistException If the specified table doesn't exist. \Drupal\Core\Database\SchemaObjectExistsException If the specified table already has a key by that name. Overrides Schema::addUniqueKey File core/lib/Drupal/Core/Database/Driver/mysql/Schema.php, line 477 Class Schem

RouteBuilder::$building

Flag that indicates if we are currently rebuilding the routes. Type: bool File core/lib/Drupal/Core/Routing/RouteBuilder.php, line 68 Class RouteBuilder Managing class for rebuilding the router table. Namespace Drupal\Core\Routing Code protected $building = FALSE;

FieldConfigBase::getConfig

public FieldConfigBase::getConfig($bundle) Gets an object that can be saved in configuration. Base fields are defined in code. In order to configure field definition properties per bundle use this method to create an override that can be saved in configuration. Parameters string $bundle: The bundle to get the configurable field for. Return value \Drupal\Core\Field\FieldConfigInterface Overrides FieldDefinitionInterface::getConfig See also \Drupal\Core\Field\Entity\BaseFieldBundleOverride Fil

Language::getDefaultLangcode

protected static Language::getDefaultLangcode() Gets the default langcode. Return value string The current default langcode. File core/lib/Drupal/Core/Language/Language.php, line 173 Class Language An object containing the information for an interface language. Namespace Drupal\Core\Language Code protected static function getDefaultLangcode() { $language = \Drupal::service('language.default')->get(); return $language->getId(); }