AddHandler::buildForm

public AddHandler::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 FormInterface::buildForm File core/modules/views_ui/src/Form/Ajax/AddHandler.php, line 47 Class AddHandler Provides a form for adding an item in the Views UI. Namespace Drupal\views_ui

ParamConverterManagerInterface::getConverter

public ParamConverterManagerInterface::getConverter($id) Lazy-loads converter services. Parameters string $id: The service id of converter service to load. Return value \Drupal\Core\ParamConverter\ParamConverterInterface The loaded converter service identified by the given service id. Throws \InvalidArgumentException If the given service id is not a registered converter. File core/lib/Drupal/Core/ParamConverter/ParamConverterManagerInterface.php, line 36 Class ParamConverterManagerInterf

PhpStorageFactory::get

static PhpStorageFactory::get($name) Instantiates a storage for generated PHP code. By default, this returns an instance of the \Drupal\Component\PhpStorage\MTimeProtectedFileStorage class. Classes implementing \Drupal\Component\PhpStorage\PhpStorageInterface can be registered for a specific bin or as a default implementation. Parameters string $name: The name for which the storage should be returned. Defaults to 'default' The name is also used as the storage bin if one is not specified in the

status-report.html.twig

Default theme implementation for the status report. Available variables: requirements: Contains multiple requirement instances. Each requirement contains: title: The title of the requirement. value: (optional) The requirement's status. description: (optional) The requirement's description. severity_title: The title of the severity. severity_status: Indicates the severity status. See also template_preprocess_status_report() File core/modules/system/templates/status-report.html.twig

ActionBase

Provides a base implementation for an Action plugin. Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Action\ActionBase implements ActionInterface See also \Drupal\Core\Annotation\Action \Drupal\Core\Action\ActionManager \Drupal\Core\Action\ActionInterface Plugin API File core/lib/Drupal/Core/Action/ActionBas

DataDefinition::setSettings

public DataDefinition::setSettings(array $settings) Sets the array of settings, as required by the used class. Parameters array $settings: The array of settings. Return value static The object itself for chaining. File core/lib/Drupal/Core/TypedData/DataDefinition.php, line 228 Class DataDefinition A typed data definition class for defining data based on defined data types. Namespace Drupal\Core\TypedData Code public function setSettings(array $settings) { $this->definition['set

DataDefinition::getSettings

public DataDefinition::getSettings() Returns the array of settings, as required by the used class. See the documentation of the class for supported or required settings. Return value array The array of settings. Overrides DataDefinitionInterface::getSettings File core/lib/Drupal/Core/TypedData/DataDefinition.php, line 215 Class DataDefinition A typed data definition class for defining data based on defined data types. Namespace Drupal\Core\TypedData Code public function getSettings()

StatementPrefetch

An implementation of StatementInterface that prefetches all data. This class behaves very similar to a \PDOStatement but as it always fetches every row it is possible to manipulate those results. Hierarchy class \Drupal\Core\Database\StatementPrefetch implements \Iterator, StatementInterface File core/lib/Drupal/Core/Database/StatementPrefetch.php, line 11 Namespace Drupal\Core\Database Members Name Modifiers Type Description StatementPrefetch::$allowRowCount public proper

StorageInterface::exists

public StorageInterface::exists($name) Returns whether a configuration object exists. Parameters string $name: The name of a configuration object to test. Return value bool TRUE if the configuration object exists, FALSE otherwise. File core/lib/Drupal/Core/Config/StorageInterface.php, line 27 Class StorageInterface Defines an interface for configuration storage. Namespace Drupal\Core\Config Code public function exists($name);

Role::isAdmin

public Role::isAdmin() Indicates that a role has all available permissions. Return value bool TRUE if the role has all permissions. Overrides RoleInterface::isAdmin File core/modules/user/src/Entity/Role.php, line 146 Class Role Defines the user role entity class. Namespace Drupal\user\Entity Code public function isAdmin() { return (bool) $this->is_admin; }