StatementEmpty::key

public StatementEmpty::key() File core/lib/Drupal/Core/Database/StatementEmpty.php, line 123 Class StatementEmpty Empty implementation of a database statement. Namespace Drupal\Core\Database Code public function key() { return NULL; }

taxonomy_check_vocabulary_hierarchy

taxonomy_check_vocabulary_hierarchy(VocabularyInterface $vocabulary, $changed_term) Checks and updates the hierarchy flag of a vocabulary. Checks the current parents of all terms in a vocabulary and updates the vocabulary's hierarchy setting to the lowest possible level. If no term has parent terms then the vocabulary will be given a hierarchy of VocabularyInterface::HIERARCHY_DISABLED. If any term has a single parent then the vocabulary will be given a hierarchy of VocabularyInterface::HIERARC

ThemeSettingsForm::validatePath

protected ThemeSettingsForm::validatePath($path) Helper function for the system_theme_settings form. Attempts to validate normal system paths, paths relative to the public files directory, or stream wrapper URIs. If the given path is any of the above, returns a valid path or URI that the theme system can display. Parameters string $path: A path relative to the Drupal root or to the public files directory, or a stream wrapper URI. Return value mixed A valid path that can be displayed through t

ReplaceCommand::render

public ReplaceCommand::render() Implements Drupal\Core\Ajax\CommandInterface:render(). Overrides InsertCommand::render File core/lib/Drupal/Core/Ajax/ReplaceCommand.php, line 25 Class ReplaceCommand AJAX command for calling the jQuery replace() method. Namespace Drupal\Core\Ajax Code public function render() { return array( 'command' => 'insert', 'method' => 'replaceWith', 'selector' => $this->selector, 'data' => $this->getRenderedContent(), 'se

FormAjaxSubscriber::onException

public FormAjaxSubscriber::onException(GetResponseForExceptionEvent $event) Catches a form AJAX exception and build a response from it. Parameters \Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent $event: The event to process. File core/lib/Drupal/Core/Form/EventSubscriber/FormAjaxSubscriber.php, line 71 Class FormAjaxSubscriber Wraps AJAX form submissions that are triggered via an exception. Namespace Drupal\Core\Form\EventSubscriber Code public function onException(Ge

ForumController::$renderer

The renderer. Type: \Drupal\Core\Render\RendererInterface File core/modules/forum/src/Controller/ForumController.php, line 71 Class ForumController Controller routines for forum routes. Namespace Drupal\forum\Controller Code protected $renderer;

ContentEntityNullStorage::doSave

protected ContentEntityNullStorage::doSave($id, EntityInterface $entity) Performs storage-specific saving of the entity. Parameters int|string $id: The original entity ID. \Drupal\Core\Entity\EntityInterface $entity: The entity to save. Return value bool|int If the record insert or update failed, returns FALSE. If it succeeded, returns SAVED_NEW or SAVED_UPDATED, depending on the operation performed. Overrides ContentEntityStorageBase::doSave File core/lib/Drupal/Core/Entity/ContentEntityNull

AccountInterface::getDisplayName

public AccountInterface::getDisplayName() Returns the display name of this account. By default, the passed-in object's 'name' property is used if it exists, or else, the site-defined value for the 'anonymous' variable. However, a module may override this by implementing hook_user_format_name_alter(&$name, $account). Return value string|\Drupal\Component\Render\MarkupInterface Either a string that will be auto-escaped on output or a MarkupInterface object that is already HTML escaped. Eithe

filter_get_roles_by_format

filter_get_roles_by_format(FilterFormatInterface $format) Retrieves a list of roles that are allowed to use a given text format. Parameters \Drupal\filter\FilterFormatInterface $format: An object representing the text format. Return value array An array of role names, keyed by role ID. File core/modules/filter/filter.module, line 148 Framework for handling the filtering of content. Code function filter_get_roles_by_format(FilterFormatInterface $format) { // Handle the fallback format upfr

Action::getType

public Action::getType() Returns the operation type. Return value string Overrides ActionConfigEntityInterface::getType File core/modules/system/src/Entity/Action.php, line 135 Class Action Defines the configured action entity. Namespace Drupal\system\Entity Code public function getType() { return $this->type; }