MTimeProtectedFastFileStorage::tempnam

protected MTimeProtectedFastFileStorage::tempnam($directory, $prefix) A brute force tempnam implementation supporting streams. Parameters $directory: The directory where the temporary filename will be created. $prefix: The prefix of the generated temporary filename. Return value string Returns the new temporary filename (with path), or FALSE on failure. File core/lib/Drupal/Component/PhpStorage/MTimeProtectedFastFileStorage.php, line 226 Class MTimeProtectedFastFileStorage Stores PHP cod

views_ui_view_preview_section_handler_links

views_ui_view_preview_section_handler_links(ViewExecutable $view, $type, $title = FALSE) Returns contextual links for each handler of a certain section. @TODO Bring in relationships Refactor this function to use much stuff of views_ui_edit_form_get_bucket. Parameters $title: Add a bolded title of this section. File core/modules/views_ui/views_ui.module, line 154 Provide structure for the administrative interface to Views. Code function views_ui_view_preview_section_handler_links(ViewExecutab

MaintenanceModeSubscriber::$config

The config factory. Type: \Drupal\Core\Config\ConfigFactoryInterface File core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php, line 45 Class MaintenanceModeSubscriber Maintenance mode subscriber for controller requests. Namespace Drupal\Core\EventSubscriber Code protected $config;

Schema::dropField

public Schema::dropField($table, $field) Drop a field. Parameters $table: The table to be altered. $field: The field to be dropped. Return value TRUE if the field was successfully dropped, FALSE if there was no field by that name to begin with. Overrides Schema::dropField File core/lib/Drupal/Core/Database/Driver/mysql/Schema.php, line 425 Class Schema MySQL implementation of \Drupal\Core\Database\Schema. Namespace Drupal\Core\Database\Driver\mysql Code public function dropField($tab

ContentTranslationHandler::retranslate

public ContentTranslationHandler::retranslate(EntityInterface $entity, $langcode = NULL) Marks translations as outdated. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity being translated. string $langcode: (optional) The language code of the updated language: all the other translations will be marked as outdated. Defaults to the entity language. Overrides ContentTranslationHandlerInterface::retranslate File core/modules/content_translation/src/ContentTranslationHandler.php, l

EntityViewsData::getFieldStorageDefinitions

protected EntityViewsData::getFieldStorageDefinitions() Gets the field storage definitions. Return value \Drupal\Core\Field\FieldStorageDefinitionInterface[] File core/modules/views/src/EntityViewsData.php, line 108 Class EntityViewsData Provides generic views integration for entities. Namespace Drupal\views Code protected function getFieldStorageDefinitions() { if (!isset($this->fieldStorageDefinitions)) { $this->fieldStorageDefinitions = $this->entityManager->getFi

Date::getInfo

public Date::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides ElementInterface::getInfo File core/lib/Drupal/Core/Render/Element/Date.php, line 30 Class Date Provides a form element for date selection. Namespace Drupal\Core\Render\Element Code public function getI

RelationLinkManager

Hierarchy class \Drupal\rest\LinkManager\LinkManagerBaseclass \Drupal\rest\LinkManager\RelationLinkManager implements RelationLinkManagerInterface File core/modules/rest/src/LinkManager/RelationLinkManager.php, line 13 Namespace Drupal\rest\LinkManager Members Name Modifiers Type Description LinkManagerBase::$configFactory protected property Config factory service. LinkManagerBase::$linkDomain protected property Link domain used for type links URIs. LinkManage

ThemeInitialization

Provides the theme initialization logic. Hierarchy class \Drupal\Core\Theme\ThemeInitialization implements ThemeInitializationInterface File core/lib/Drupal/Core/Theme/ThemeInitialization.php, line 13 Namespace Drupal\Core\Theme Members Name Modifiers Type Description ThemeInitialization::$cache protected property The cache backend to use for the active theme. ThemeInitialization::$extensions protected property The extensions that might be attaching assets. The

StatusMessages::getInfo

public StatusMessages::getInfo() Generate the placeholder in a #pre_render callback, because the hash salt needs to be accessed, which may not yet be available when this is called. Overrides ElementInterface::getInfo File core/lib/Drupal/Core/Render/Element/StatusMessages.php, line 27 Class StatusMessages Provides a messages element. Namespace Drupal\Core\Render\Element Code public function getInfo() { return [ // May have a value of 'status' or 'error' when only displaying mess