action_help

action_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/action/action.module, line 13 This is the Actions module for executing stored actions. Code function action_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.action': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Actions module provides tasks that can be executed by the site

StorableConfigBase::isNew

public StorableConfigBase::isNew() Returns whether this configuration object is new. Return value bool TRUE if this configuration object does not exist in storage. File core/lib/Drupal/Core/Config/StorableConfigBase.php, line 107 Class StorableConfigBase Provides a base class for configuration objects with storage support. Namespace Drupal\Core\Config Code public function isNew() { return $this->isNew; }

FilterProcessResult::createPlaceholder

public FilterProcessResult::createPlaceholder($callback, array $args) Creates a placeholder. This generates its own placeholder markup for one major reason: to not have FilterProcessResult depend on the Renderer service, because this is a value object. As a side-effect and added benefit, this makes it easier to distinguish placeholders for filtered text versus generic render system placeholders. Parameters string $callback: The #lazy_builder callback that will replace the placeholder with its

RecursiveExtensionFilterIterator::accept

public RecursiveExtensionFilterIterator::accept() File core/lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterIterator.php, line 129 Class RecursiveExtensionFilterIterator Filters a RecursiveDirectoryIterator to discover extensions. Namespace Drupal\Core\Extension\Discovery Code public function accept() { $name = $this->current()->getFilename(); // FilesystemIterator::SKIP_DOTS only skips '.' and '..', but not hidden // directories (like '.git'). if ($name[0] ==

Cookie::getUserFromSession

protected Cookie::getUserFromSession(SessionInterface $session) Returns the UserSession object for the given session. Parameters \Symfony\Component\HttpFoundation\Session\SessionInterface $session: The session. Return value \Drupal\Core\Session\AccountInterface|null The UserSession object for the current user, or NULL if this is an anonymous session. File core/modules/user/src/Authentication/Provider/Cookie.php, line 69 Class Cookie Cookie based authentication provider. Namespace Drup

UpdateManagerInstall::getFormId

public UpdateManagerInstall::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/update/src/Form/UpdateManagerInstall.php, line 58 Class UpdateManagerInstall Configure update settings for this site. Namespace Drupal\update\Form Code public function getFormId() { return 'update_manager_install_form'; }

FilterDisableForm::getCancelUrl

public FilterDisableForm::getCancelUrl() Returns the route to go to if the user cancels the action. Return value \Drupal\Core\Url A URL object. Overrides ConfirmFormInterface::getCancelUrl File core/modules/filter/src/Form/FilterDisableForm.php, line 24 Class FilterDisableForm Provides the filter format disable form. Namespace Drupal\filter\Form Code public function getCancelUrl() { return new Url('filter.admin_overview'); }

FilterDisableForm::getConfirmText

public FilterDisableForm::getConfirmText() Returns a caption for the button that confirms the action. Return value string The form confirmation text. Overrides EntityConfirmFormBase::getConfirmText File core/modules/filter/src/Form/FilterDisableForm.php, line 31 Class FilterDisableForm Provides the filter format disable form. Namespace Drupal\filter\Form Code public function getConfirmText() { return $this->t('Disable'); }

EntityDisplayModeBase::$id

The ID of the form or view mode. Type: string File core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php, line 18 Class EntityDisplayModeBase Base class for config entity types with settings for form and view modes. Namespace Drupal\Core\Entity Code protected $id;

FormStateDecoratorBase::setCached

public FormStateDecoratorBase::setCached($cache = TRUE) Sets this form to be cached. Parameters bool $cache: TRUE if the form should be cached, FALSE otherwise. Return value $this Throws \LogicException If the current request is using an HTTP method that must not change state (e.g., GET). Overrides FormStateInterface::setCached File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 64 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form Code