CloseModalDialogCommand::__construct

public CloseModalDialogCommand::__construct($persist = FALSE) Constructs a CloseModalDialogCommand object. Parameters bool $persist: (optional) Whether to persist the dialog in the DOM or not. Overrides CloseDialogCommand::__construct File core/lib/Drupal/Core/Ajax/CloseModalDialogCommand.php, line 18 Class CloseModalDialogCommand Defines an AJAX command that closes the currently visible modal dialog. Namespace Drupal\Core\Ajax Code public function __construct($persist = FALSE) { $t

BreakLockForm::create

public static BreakLockForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service co

ImportForm::getFormId

public ImportForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/locale/src/Form/ImportForm.php, line 63 Class ImportForm Form constructor for the translation import screen. Namespace Drupal\locale\Form Code public function getFormId() { return 'locale_translate_import_form'; }

View::mergeDefaultDisplaysOptions

public View::mergeDefaultDisplaysOptions() Add defaults to the display options. Overrides ViewEntityInterface::mergeDefaultDisplaysOptions File core/modules/views/src/Entity/View.php, line 426 Class View Defines a View configuration entity class. Namespace Drupal\views\Entity Code public function mergeDefaultDisplaysOptions() { $displays = array(); foreach ($this->get('display') as $key => $options) { $options += array( 'display_options' => array(), 'displa

ActiveTheme::$owner

The path to the theme engine for root themes. Type: string File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 41 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code protected $owner;

views-view-row-rss.html.twig

Default theme implementation to display an item in a views RSS feed. Available variables: title: RSS item title. link: RSS item link. description: RSS body text. item_elements: RSS item elements to be rendered as XML (pubDate, creator, guid). See also template_preprocess_views_view_row_rss() File core/modules/views/templates/views-view-row-rss.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

AdminHtmlRouteProvider::getAddFormRoute

protected AdminHtmlRouteProvider::getAddFormRoute(EntityTypeInterface $entity_type) Gets the add-form route. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type. Return value \Symfony\Component\Routing\Route|null The generated route, if available. Overrides DefaultHtmlRouteProvider::getAddFormRoute File core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php, line 32 Class AdminHtmlRouteProvider Provides HTML routes for entities with administrative add

View::postCreate

public View::postCreate(EntityStorageInterface $storage) Acts on a created entity before hooks are invoked. Used after the entity is created, but before saving the entity and before any of the presave hooks are invoked. See the Entity CRUD topic for more information. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. Overrides Entity::postCreate See also \Drupal\Core\Entity\EntityInterface::create() File core/modules/views/src/Entity/View.php, line 388

CommentAccessControlHandler::checkFieldAccess

protected CommentAccessControlHandler::checkFieldAccess($operation, FieldDefinitionInterface $field_definition, AccountInterface $account, FieldItemListInterface $items = NULL) Default field access as determined by this access control handler. Parameters string $operation: The operation access should be checked for. Usually one of "view" or "edit". \Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition. \Drupal\Core\Session\AccountInterface $account: The user sessi

UpdateProcessorInterface::fetchData

public UpdateProcessorInterface::fetchData() Attempts to drain the queue of tasks for release history data to fetch. File core/modules/update/src/UpdateProcessorInterface.php, line 25 Class UpdateProcessorInterface Processor of project update information. Namespace Drupal\update Code public function fetchData();