FilterDisableForm::getQuestion

public FilterDisableForm::getQuestion() Returns the question to ask the user. Return value string The form question. The page title will be set to this value. Overrides ConfirmFormInterface::getQuestion File core/modules/filter/src/Form/FilterDisableForm.php, line 17 Class FilterDisableForm Provides the filter format disable form. Namespace Drupal\filter\Form Code public function getQuestion() { return $this->t('Are you sure you want to disable the text format %format?', array('%

FTPExtension::removeFileJailed

protected FTPExtension::removeFileJailed($destination) Removes a file. Parameters string $destination: The destination file to be removed. Overrides FileTransfer::removeFileJailed File core/lib/Drupal/Core/FileTransfer/FTPExtension.php, line 75 Class FTPExtension Defines a file transfer class using the PHP FTP extension. Namespace Drupal\Core\FileTransfer Code protected function removeFileJailed($destination) { if (!ftp_delete($this->connection, $destination)) { throw new Fil

MenuTreeStorageInterface::getRootPathIds

public MenuTreeStorageInterface::getRootPathIds($id) Returns all the IDs that represent the path to the root of the tree. array( 'p1' => 1, 'p2' => 6, 'p3' => 8, 'p4' => 0, 'p5' => 0, 'p6' => 0, 'p7' => 0, 'p8' => 0, 'p9' => 0 ) Parameters string $id: A menu link ID. Return value array An associative array of IDs with keys equal to values that represents the path from the given ID to the root of the tree. If $id is an ID that

MailManager::mail

public MailManager::mail($module, $key, $to, $langcode, $params = array(), $reply = NULL, $send = TRUE) Composes and optionally sends an email message. Sending an email works with defining an email template (subject, text and possibly email headers) and the replacement values to use in the appropriate places in the template. Processed email templates are requested from hook_mail() from the module sending the email. Any module can modify the composed email message array using hook_mail_alter().

ContentEntityStorageBase::populateAffectedRevisionTranslations

protected ContentEntityStorageBase::populateAffectedRevisionTranslations(ContentEntityInterface $entity) Populates the affected flag for all the revision translations. Parameters \Drupal\Core\Entity\ContentEntityInterface $entity: An entity object being saved. File core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 534 Class ContentEntityStorageBase Base class for content entity storage handlers. Namespace Drupal\Core\Entity Code protected function populateAffectedRevision

File interface

Common file handling functions. File core/includes/file.inc, line 34 API for handling file uploads and server file management. Functions Name Location Description drupal_basename Deprecated core/includes/file.inc Gets the filename from a given path. drupal_chmod Deprecated core/includes/file.inc Sets the permissions on a file or directory. drupal_dirname Deprecated core/includes/file.inc Gets the name of the directory from a given path. drupal_mkdir Deprecated core/

image.install

Install, update and uninstall functions for the image module. File core/modules/image/image.install Functions Name Description image_install Implements hook_install(). image_requirements Implements hook_requirements() to check the PHP GD Library. image_uninstall Implements hook_uninstall().

BreakpointManager::processDefinition

public BreakpointManager::processDefinition(&$definition, $plugin_id) Performs extra processing on plugin definitions. By default we add defaults for the type to the definition. If a type has additional processing logic they can do that by replacing or extending the method. Overrides DefaultPluginManager::processDefinition File core/modules/breakpoint/src/BreakpointManager.php, line 126 Class BreakpointManager Defines a breakpoint plugin manager to deal with breakpoints. Namespace D

FormatterBase::isApplicable

public static FormatterBase::isApplicable(FieldDefinitionInterface $field_definition) Returns if the formatter can be used for the provided field. Parameters \Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition that should be checked. Return value bool TRUE if the formatter can be used, FALSE otherwise. Overrides FormatterInterface::isApplicable File core/lib/Drupal/Core/Field/FormatterBase.php, line 156 Class FormatterBase Base class for 'Field formatter'

ProfileTranslationHandler::hasPublishedStatus

protected ProfileTranslationHandler::hasPublishedStatus() Checks whether the entity type supports published status natively. Return value bool TRUE if metadata is natively supported, FALSE otherwise. Overrides ContentTranslationHandler::hasPublishedStatus File core/modules/user/src/ProfileTranslationHandler.php, line 17 Class ProfileTranslationHandler Defines the translation handler for users. Namespace Drupal\user Code protected function hasPublishedStatus() { // User status has no