AttachedAssetsInterface::getSettings

public AttachedAssetsInterface::getSettings() Returns the settings attached to the current response. Return value array File core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php, line 62 Class AttachedAssetsInterface The attached assets collection for the current response. Namespace Drupal\Core\Asset Code public function getSettings();

FileCache::getMultiple

public FileCache::getMultiple(array $filepaths) Gets data based on filenames. Parameters string[] $filepaths: List of file paths used as cache identifiers. Return value array List of cached data keyed by the passed in file paths. Overrides FileCacheInterface::getMultiple File core/lib/Drupal/Component/FileCache/FileCache.php, line 77 Class FileCache Allows to cache data based on file modification dates. Namespace Drupal\Component\FileCache Code public function getMultiple(array $file

contact_entity_type_alter

contact_entity_type_alter(array &$entity_types) Implements hook_entity_type_alter(). File core/modules/contact/contact.module, line 44 Enables the use of personal and site-wide contact forms. Code function contact_entity_type_alter(array &$entity_types) { /** @var $entity_types \Drupal\Core\Entity\EntityTypeInterface[] */ $entity_types['user']->setLinkTemplate('contact-form', '/user/{user}/contact'); }

SearchPageRepository::sortSearchPages

public SearchPageRepository::sortSearchPages($search_pages) Sorts a list of search pages. Parameters \Drupal\search\SearchPageInterface[] $search_pages: The unsorted list of search pages. Return value \Drupal\search\SearchPageInterface[] The sorted list of search pages. Overrides SearchPageRepositoryInterface::sortSearchPages File core/modules/search/src/SearchPageRepository.php, line 106 Class SearchPageRepository Provides a repository for Search Page config entities. Namespace Drupa

EntityStorageInterface::loadMultiple

public EntityStorageInterface::loadMultiple(array $ids = NULL) Loads one or more entities. Parameters $ids: An array of entity IDs, or NULL to load all entities. Return value \Drupal\Core\Entity\EntityInterface[] An array of entity objects indexed by their IDs. Returns an empty array if no matching entities are found. File core/lib/Drupal/Core/Entity/EntityStorageInterface.php, line 47 Class EntityStorageInterface Defines the interface for entity storage classes. Namespace Drupal\Core

file_unmunge_filename

file_unmunge_filename($filename) Undoes the effect of file_munge_filename(). Parameters $filename: String with the filename to be unmunged. Return value An unmunged filename string. Related topics File interface Common file handling functions. File core/includes/file.inc, line 740 API for handling file uploads and server file management. Code function file_unmunge_filename($filename) { return str_replace('_.', '.', $filename); }

BookAdminEditForm::bookAdminTable

protected BookAdminEditForm::bookAdminTable(NodeInterface $node, array &$form) Builds the table portion of the form for the book administration page. Parameters \Drupal\node\NodeInterface $node: The node of the top-level page in the book. array $form: The form that is being modified, passed by reference. See also self::buildForm() File core/modules/book/src/Form/BookAdminEditForm.php, line 141 Class BookAdminEditForm Provides a form for administering a single book's hierarchy. Name

EditorImageDialog::getFormId

public EditorImageDialog::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/editor/src/Form/EditorImageDialog.php, line 50 Class EditorImageDialog Provides an image dialog for text editors. Namespace Drupal\editor\Form Code public function getFormId() { return 'editor_image_dialog'; }

views_ui_theme_suggestions_views_ui_view_preview_section

views_ui_theme_suggestions_views_ui_view_preview_section(array $variables) Implements hook_theme_suggestions_HOOK(). File core/modules/views_ui/views_ui.theme.inc, line 528 Preprocessors and theme functions for the Views UI. Code function views_ui_theme_suggestions_views_ui_view_preview_section(array $variables) { return array('views_ui_view_preview_section__' . $variables['section']); }

ModulesListConfirmForm::buildForm

public ModulesListConfirmForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides ConfirmFormBase::buildForm File core/modules/system/src/Form/ModulesListConfirmForm.php, line 113 Class ModulesListConfirmForm Builds a confirmation form for enabling modules