StatementInterface::fetchAll

StatementInterface::fetchAll($mode = NULL, $column_index = NULL, $constructor_arguments = NULL) Returns an array containing all of the result set rows. Parameters $mode: One of the PDO::FETCH_* constants. $column_index: If $mode is PDO::FETCH_COLUMN, the index of the column to fetch. $constructor_arguments: If $mode is PDO::FETCH_CLASS, the arguments to pass to the constructor. Return value An array of results. File core/lib/Drupal/Core/Database/StatementInterface.php, line 158 Class Stat

ConfigSingleImportForm::$moduleInstaller

The module installer. Type: \Drupal\Core\Extension\ModuleInstallerInterface File core/modules/config/src/Form/ConfigSingleImportForm.php, line 99 Class ConfigSingleImportForm Provides a form for importing a single configuration file. Namespace Drupal\config\Form Code protected $moduleInstaller;

ViewUI::access

public ViewUI::access($operation = 'view', AccountInterface $account = NULL, $return_as_object = FALSE) Checks data value access. Parameters string $operation: The operation to be performed. \Drupal\Core\Session\AccountInterface $account: (optional) The user for which to check access, or NULL to check access for the current user. Defaults to NULL. bool $return_as_object: (optional) Defaults to FALSE. Return value bool|\Drupal\Core\Access\AccessResultInterface The access result. Returns a bool

AccessResult::forbiddenIf

public static AccessResult::forbiddenIf($condition) Creates a forbidden or neutral access result. Parameters bool $condition: The condition to evaluate. Return value \Drupal\Core\Access\AccessResult If $condition is TRUE, isForbidden() will be TRUE, otherwise isNeutral() will be TRUE. File core/lib/Drupal/Core/Access/AccessResult.php, line 90 Class AccessResult Value object for passing an access result with cacheability metadata. Namespace Drupal\Core\Access Code public static functi

DraggableListBuilder::buildForm

public DraggableListBuilder::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/lib/Drupal/Core/Config/Entity/DraggableListBuilder.php, line 101 Class DraggableListBuilder Defines a class to build a draggable listing of co

AccessAwareRouter::generate

public AccessAwareRouter::generate($name, $parameters = array(), $referenceType = self::ABSOLUTE_PATH) File core/lib/Drupal/Core/Routing/AccessAwareRouter.php, line 123 Class AccessAwareRouter A router class for Drupal with access check and upcasting. Namespace Drupal\Core\Routing Code public function generate($name, $parameters = array(), $referenceType = self::ABSOLUTE_PATH) { return $this->chainRouter->generate($name, $parameters, $referenceType); }

TwigNodeTrans

A class that defines the Twig 'trans' tag for Drupal. This Twig extension was originally based on Twig i18n extension. It has been severely modified to work properly with the complexities of the Drupal translation system. Hierarchy class \Twig_Node implements \Twig_NodeInterface class \Drupal\Core\Template\TwigNodeTrans See also http://twig.sensiolabs.org/doc/extensions/i18n.html https://github.com/fabpot/Twig-extensions File core/lib/Drupal/Core/Template/TwigNodeTrans.php, line 15 Name

EntityDisplayModeDeleteForm::getDescription

public EntityDisplayModeDeleteForm::getDescription() Returns additional text to display as a description. Return value string The form description. Overrides EntityConfirmFormBase::getDescription File core/modules/field_ui/src/Form/EntityDisplayModeDeleteForm.php, line 15 Class EntityDisplayModeDeleteForm Provides the delete form for entity display modes. Namespace Drupal\field_ui\Form Code public function getDescription() { $entity_type = $this->entity->getEntityType(); ret

SelectExtender::compiled

public SelectExtender::compiled() Check whether a condition has been previously compiled. Return value TRUE if the condition has been previously compiled. Overrides ConditionInterface::compiled File core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 140 Class SelectExtender The base extender class for Select queries. Namespace Drupal\Core\Database\Query Code public function compiled() { return $this->query->compiled(); }

ViewExecutable::getUser

public ViewExecutable::getUser() Gets the current user. Views plugins can receive the current user in order to not need dependency injection. Return value \Drupal\Core\Session\AccountInterface The current user. File core/modules/views/src/ViewExecutable.php, line 2033 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function getUser() { return $this->user; }