PermissionHandlerInterface

Defines an interface to list available permissions. Hierarchy interface \Drupal\user\PermissionHandlerInterface File core/modules/user/src/PermissionHandlerInterface.php, line 8 Namespace Drupal\user Members Name Modifiers Type Description PermissionHandlerInterface::getPermissions public function Gets all available permissions. PermissionHandlerInterface::moduleProvidesPermissions public function Determines whether a module provides some permissions.

ban_help

ban_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/ban/ban.module, line 13 Allows to ban individual IP addresses. Code function ban_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.ban': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Ban module allows administrators to ban visits to their site from individual IP addresses. For

SearchPageRepositoryInterface::sortSearchPages

public SearchPageRepositoryInterface::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. File core/modules/search/src/SearchPageRepositoryInterface.php, line 66 Class SearchPageRepositoryInterface Provides the interface for a repository Search Page entities. Namespace Drupal\search Code public fu

Container::__clone

private Container::__clone() Ensure that cloning doesn't work. File core/lib/Drupal/Component/DependencyInjection/Container.php, line 658 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code private function __clone() { }

SearchPageRepositoryInterface

Provides the interface for a repository Search Page entities. Hierarchy interface \Drupal\search\SearchPageRepositoryInterface File core/modules/search/src/SearchPageRepositoryInterface.php, line 8 Namespace Drupal\search Members Name Modifiers Type Description SearchPageRepositoryInterface::clearDefaultSearchPage public function Clears the default search page. SearchPageRepositoryInterface::getActiveSearchPages public function Returns all active search page enti

OptimizedPhpArrayDumper::getArray

public OptimizedPhpArrayDumper::getArray() Gets the service container definition as a PHP array. Return value array A PHP array representation of the service container. File core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php, line 61 Class OptimizedPhpArrayDumper OptimizedPhpArrayDumper dumps a service container as a serialized PHP array. Namespace Drupal\Component\DependencyInjection\Dumper Code public function getArray() { $definition = array(); $th

DependencyTrait::addDependencies

protected DependencyTrait::addDependencies(array $dependencies) Adds multiple dependencies. Parameters array $dependencies.: An array of dependencies keyed by the type of dependency. One example: array( 'module' => array( 'node', 'field', 'image', ), ); See also \Drupal\Core\Entity\DependencyTrait::addDependency File core/lib/Drupal/Core/Entity/DependencyTrait.php, line 64 Class DependencyTrait Provides a trait for managing an object's dependencies.

ViewDuplicateForm::submitForm

public ViewDuplicateForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler for the 'clone' action. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: A reference to a keyed array containing the current state of the form. Overrides EntityForm::submitForm File core/modules/views_ui/src/ViewDuplicateForm.php, line 68 Class ViewDuplicateForm Form controller for the Views dupli

TermStorage::updateTermHierarchy

public TermStorage::updateTermHierarchy(EntityInterface $term) Updates terms hierarchy information with the hierarchy trail of it. Parameters \Drupal\Core\Entity\EntityInterface $term: Term entity that needs to be added to term hierarchy information. Overrides TermStorageInterface::updateTermHierarchy File core/modules/taxonomy/src/TermStorage.php, line 105 Class TermStorage Defines a Controller class for taxonomy terms. Namespace Drupal\taxonomy Code public function updateTermHierarc

Checkboxes::getInfo

public Checkboxes::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides ElementInterface::getInfo File core/lib/Drupal/Core/Render/Element/Checkboxes.php, line 38 Class Checkboxes Provides a form element for a set of checkboxes. Namespace Drupal\Core\Render\Element Co