FileStorageSchema

Defines the file schema handler. Hierarchy class \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema implements DynamicallyFieldableEntityStorageSchemaInterface uses DependencySerializationTraitclass \Drupal\file\FileStorageSchema File core/modules/file/src/FileStorageSchema.php, line 11 Namespace Drupal\file Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for ser

_filter_html_image_secure_process

_filter_html_image_secure_process($text) Process callback for local image filter. Related topics Standard filters Filters implemented by the Filter module. File core/modules/filter/filter.module, line 765 Framework for handling the filtering of content. Code function _filter_html_image_secure_process($text) { // Find the path (e.g. '/') to Drupal root. $base_path = base_path(); $base_path_length = Unicode::strlen($base_path); // Find the directory on the server where index.php resi

admin-block.html.twig

Default theme implementation for an administrative block. Available variables: block: An array of information about the block, including: show: A flag indicating if the block should be displayed. title: The block title. content: (optional) The content of the block. description: (optional) A description of the block. (Description should only be output if content is not available). File core/modules/system/templates/admin-block.html.twig Related topics Theme system overview Functions a

ImageStyleDeleteForm::$replacementOptions

Replacement options. Type: array File core/modules/image/src/Form/ImageStyleDeleteForm.php, line 18 Class ImageStyleDeleteForm Creates a form to delete an image style. Namespace Drupal\image\Form Code protected $replacementOptions;

DatabaseLockBackend::release

public DatabaseLockBackend::release($name) Releases the given lock. Parameters string $name: Overrides LockBackendInterface::release File core/lib/Drupal/Core/Lock/DatabaseLockBackend.php, line 138 Class DatabaseLockBackend Defines the database lock backend. This is the default backend in Drupal. Namespace Drupal\Core\Lock Code public function release($name) { unset($this->locks[$name]); try { $this->database->delete('semaphore') ->condition('name', $name)

ContextDefinition::get

public ContextDefinition::get() Returns the value of an annotation. Return value \Drupal\Core\Plugin\Context\ContextDefinitionInterface Overrides Plugin::get File core/lib/Drupal/Core/Annotation/ContextDefinition.php, line 130 Class ContextDefinition Defines a context definition annotation object. Namespace Drupal\Core\Annotation Code public function get() { return $this->definition; }

datetime-form.html.twig

Default theme implementation of a datetime form element. Available variables: attributes: HTML attributes for the datetime form element. content: The datelist form element to be output. See also template_preprocess_datetime_form() File core/modules/system/templates/datetime-form.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

system_filetransfer_info

system_filetransfer_info() Implements hook_filetransfer_info(). File core/modules/system/system.module, line 517 Configuration system that lets administrators modify the workings of the site. Code function system_filetransfer_info() { $backends = array(); // This is the default, will be available on most systems. if (function_exists('ftp_connect')) { $backends['ftp'] = array( 'title' => t('FTP'), 'class' => 'Drupal\Core\FileTransfer\FTP', 'weight' => 0,

FormState::getTriggeringElement

public &FormState::getTriggeringElement() Gets the form element that triggered submission. Return value array|null The form element that triggered submission, of NULL if there is none. Overrides FormStateInterface::getTriggeringElement File core/lib/Drupal/Core/Form/FormState.php, line 820 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code public function &getTriggeringElement() { return $this->triggering_element; }

Tasks::$pdoDriver

The name of the PDO driver this database type requires. Type: string File core/lib/Drupal/Core/Database/Install/Tasks.php, line 19 Class Tasks Database installer structure. Namespace Drupal\Core\Database\Install Code protected $pdoDriver;