LanguageConfigOverrideEvents

Defines events for language configuration overrides. Hierarchy class \Drupal\language\Config\LanguageConfigOverrideEvents See also \Drupal\Core\Config\ConfigCrudEvent File core/modules/language/src/Config/LanguageConfigOverrideEvents.php, line 10 Namespace Drupal\language\Config Members Name Modifiers Type Description LanguageConfigOverrideEvents::DELETE_OVERRIDE constant The name of the event fired when deleting the configuration override. LanguageConfigOverrideEvent

Message::setSenderMail

public Message::setSenderMail($sender_mail) Sets the email address of the sender. Parameters string $sender_mail: The email address of the message sender. Overrides MessageInterface::setSenderMail File core/modules/contact/src/Entity/Message.php, line 74 Class Message Defines the contact message entity. Namespace Drupal\contact\Entity Code public function setSenderMail($sender_mail) { $this->set('mail', $sender_mail); }

AttachedAssets::getLibraries

public AttachedAssets::getLibraries() Returns the asset libraries attached to the current response. Return value string[] Overrides AttachedAssetsInterface::getLibraries File core/lib/Drupal/Core/Asset/AttachedAssets.php, line 60 Class AttachedAssets The default attached assets collection. Namespace Drupal\Core\Asset Code public function getLibraries() { return $this->libraries; }

ImageToolkitForm::$availableToolkits

An array containing currently available toolkits. Type: \Drupal\Core\ImageToolkit\ImageToolkitInterface[] File core/modules/system/src/Form/ImageToolkitForm.php, line 21 Class ImageToolkitForm Configures image toolkit settings for this site. Namespace Drupal\system\Form Code protected $availableToolkits = array();

AttachedAssets::$libraries

The (ordered) list of asset libraries attached to the current response. Type: string[] File core/lib/Drupal/Core/Asset/AttachedAssets.php, line 15 Class AttachedAssets The default attached assets collection. Namespace Drupal\Core\Asset Code public $libraries = [];

image_file_download

image_file_download($uri) Implements hook_file_download(). Control the access to files underneath the styles directory. File core/modules/image/image.module, line 169 Exposes global functionality for creating image styles. Code function image_file_download($uri) { $path = file_uri_target($uri); // Private file access for image style derivatives. if (strpos($path, 'styles/') === 0) { $args = explode('/', $path); // Discard "styles", style name, and scheme from the path $arg

ImageToolkitForm::__construct

public ImageToolkitForm::__construct(ConfigFactoryInterface $config_factory, ImageToolkitManager $manager) Constructs a ImageToolkitForm object. Parameters \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects. \Drupal\Core\ImageToolkit\ImageToolkitManager $manager: The image toolkit plugin manager. Overrides ConfigFormBase::__construct File core/modules/system/src/Form/ImageToolkitForm.php, line 31 Class ImageToolkitForm Configures image toolki

AttachedAssets::createFromRenderArray

public static AttachedAssets::createFromRenderArray(array $render_array) Creates an AttachedAssetsInterface object from a render array. Parameters array $render_array: A render array. Return value \Drupal\Core\Asset\AttachedAssetsInterface Throws \LogicException Overrides AttachedAssetsInterface::createFromRenderArray File core/lib/Drupal/Core/Asset/AttachedAssets.php, line 34 Class AttachedAssets The default attached assets collection. Namespace Drupal\Core\Asset Code public static

StringLoader::getSource

public StringLoader::getSource($name) Gets the source code of a template, given its name. Parameters string $name The name of the template to load: Return value string The template source code Throws Twig_Error_Loader When $name is not found Overrides Twig_LoaderInterface::getSource File core/lib/Drupal/Core/Template/Loader/StringLoader.php, line 40 Class StringLoader Loads string templates, also known as inline templates. Namespace Drupal\Core\Template\Loader Code public function g

Schema::prepareComment

public Schema::prepareComment($comment, $length = NULL) Prepare a table or column comment for database query. Parameters $comment: The comment string to prepare. $length: Optional upper limit on the returned string length. Return value The prepared comment. Overrides Schema::prepareComment File core/lib/Drupal/Core/Database/Driver/mysql/Schema.php, line 538 Class Schema MySQL implementation of \Drupal\Core\Database\Schema. Namespace Drupal\Core\Database\Driver\mysql Code public funct