MenuLinkDefaultForm

Provides an edit form for static menu links. Hierarchy class \Drupal\Core\Menu\Form\MenuLinkDefaultForm implements ContainerInjectionInterface, MenuLinkFormInterface uses StringTranslationTrait See also \Drupal\Core\Menu\MenuLinkDefault File core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php, line 20 Namespace Drupal\Core\Menu\Form Members Name Modifiers Type Description MenuLinkDefaultForm::$menuLink protected property The edited menu link. MenuLinkDefaultForm::$

ItemViewBuilder

View builder handler for aggregator feed items. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityViewBuilder implements EntityHandlerInterface, EntityViewBuilderInterfaceclass \Drupal\aggregator\ItemViewBuilder File core/modules/aggregator/src/ItemViewBuilder.php, line 10 Namespace Drupal\aggregator Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds

FilterProcessResult

Used to return values from a text filter plugin's processing method. The typical use case for a text filter plugin's processing method is to just apply some filtering to the given text, but for more advanced use cases, it may be necessary to also: Declare asset libraries to be loaded. Declare cache tags that the filtered text depends upon, so when either of those cache tags is invalidated, the filtered text should also be invalidated. Declare cache context to vary by, e.g. 'language' to do lang

UserAuthenticationController::logout

public UserAuthenticationController::logout() Logs out a user. Return value \Drupal\rest\ResourceResponse The response object. File core/modules/user/src/Controller/UserAuthenticationController.php, line 239 Class UserAuthenticationController Provides controllers for login, login status and logout via HTTP requests. Namespace Drupal\user\Controller Code public function logout() { $this->userLogout(); return new Response(NULL, 204); }

EntityAccessControlHandler::createAccess

public EntityAccessControlHandler::createAccess($entity_bundle = NULL, AccountInterface $account = NULL, array $context = array(), $return_as_object = FALSE) Checks access to create an entity. Parameters string $entity_bundle: (optional) The bundle of the entity. Required if the entity supports bundles, defaults to NULL otherwise. \Drupal\Core\Session\AccountInterface $account: (optional) The user session for which to check access, or NULL to check access for the current user. Defaults to NULL

LocaleDefaultConfigStorage::__construct

public LocaleDefaultConfigStorage::__construct(StorageInterface $config_storage, ConfigurableLanguageManagerInterface $language_manager) Constructs a LocaleDefaultConfigStorage. Parameters \Drupal\Core\Config\StorageInterface $config_storage: The storage object to use for reading configuration data. \Drupal\language\ConfigurableLanguageManagerInterface $language_manager: The language manager. File core/modules/locale/src/LocaleDefaultConfigStorage.php, line 60 Class LocaleDefaultConfigStor

CommentViewsData::getViewsData

public CommentViewsData::getViewsData() Returns views data for the entity type. Return value array Views data in the format of hook_views_data(). Overrides EntityViewsData::getViewsData File core/modules/comment/src/CommentViewsData.php, line 15 Class CommentViewsData Provides views data for the comment entity type. Namespace Drupal\comment Code public function getViewsData() { $data = parent::getViewsData(); $data['comment_field_data']['table']['base']['help'] = $this->t('Com

FileCache::$cache

The cache backend backing this FileCache object. Type: \Drupal\Component\FileCache\FileCacheBackendInterface File core/lib/Drupal/Component/FileCache/FileCache.php, line 36 Class FileCache Allows to cache data based on file modification dates. Namespace Drupal\Component\FileCache Code protected $cache;

MimeTypeGuesser::guess

public MimeTypeGuesser::guess($path) Guesses the mime type of the file with the given path. Parameters string $path The path to the file: Return value string The mime type or NULL, if none could be guessed Throws FileNotFoundException If the file does not exist AccessDeniedException If the file could not be read Overrides MimeTypeGuesserInterface::guess File core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php, line 54 Class MimeTypeGuesser Defines a MIME type guesser that also suppor

NodeStorageSchema::getSharedTableFieldSchema

protected NodeStorageSchema::getSharedTableFieldSchema(FieldStorageDefinitionInterface $storage_definition, $table_name, array $column_mapping) Gets the schema for a single field definition. Entity types may override this method in order to optimize the generated schema for given field. While all optimizations that apply to a single field have to be added here, all cross-field optimizations should be via SqlContentEntityStorageSchema::getEntitySchema() instead; e.g., an index spanning multiple