UserLoginForm::create

public static UserLoginForm::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

ContextDefinition::__construct

public ContextDefinition::__construct(array $values) Constructs a new context definition object. Parameters array $values: An associative array with the following keys: value: The required data type. label: (optional) The UI label of this context definition. required: (optional) Whether the context definition is required. multiple: (optional) Whether the context definition is multivalue. description: (optional) The UI description of this context definition. default_value: (optional) The

MessageViewBuilder::buildComponents

public MessageViewBuilder::buildComponents(array &$build, array $entities, array $displays, $view_mode) Builds the component fields and properties of a set of entities. Parameters &$build: The renderable array representing the entity content. \Drupal\Core\Entity\EntityInterface[] $entities: The entities whose content is being built. \Drupal\Core\Entity\Display\EntityViewDisplayInterface[] $displays: The array of entity view displays holding the display options configured for the entity

InvokeCommand::__construct

public InvokeCommand::__construct($selector, $method, array $arguments = array()) Constructs an InvokeCommand object. Parameters string $selector: A jQuery selector. string $method: The name of a jQuery method to invoke. array $arguments: An optional array of arguments to pass to the method. File core/lib/Drupal/Core/Ajax/InvokeCommand.php, line 54 Class InvokeCommand AJAX command for invoking an arbitrary jQuery method. Namespace Drupal\Core\Ajax Code public function __construct($sel

EntityViewsDataInterface::getViewsTableForEntityType

public EntityViewsDataInterface::getViewsTableForEntityType(EntityTypeInterface $entity_type) Gets the table of an entity type to be used as base table in views. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type. Return value string The name of the base table in views. File core/modules/views/src/EntityViewsDataInterface.php, line 29 Class EntityViewsDataInterface Provides an interface to integrate an entity type with views. Namespace Drupal\views Code

Connection::createDatabase

public Connection::createDatabase($database) Overrides \Drupal\Core\Database\Connection::createDatabase(). Parameters string $database: The name of the database to create. Throws \Drupal\Core\Database\DatabaseNotFoundException Overrides Connection::createDatabase File core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php, line 364 Class Connection SQLite implementation of \Drupal\Core\Database\Connection. Namespace Drupal\Core\Database\Driver\sqlite Code public function createDa

NegotiationConfigureForm::buildForm

public NegotiationConfigureForm::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 ConfigFormBase::buildForm File core/modules/language/src/Form/NegotiationConfigureForm.php, line 124 Class NegotiationConfigureForm Configure the selected language negotiati

views_view_is_enabled

views_view_is_enabled(View $view) Returns whether the view is enabled. Parameters \Drupal\views\Entity\View $view: The view object to check. Return value bool Returns TRUE if a view is enabled, FALSE otherwise. File core/modules/views/views.module, line 559 Primarily Drupal hooks and global API functions to manipulate views. Code function views_view_is_enabled(View $view) { return $view->status(); }

BreakLockForm::__construct

public BreakLockForm::__construct(EntityManagerInterface $entity_manager, SharedTempStoreFactory $temp_store_factory) Constructs a \Drupal\views_ui\Form\BreakLockForm object. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The Entity manager. \Drupal\user\SharedTempStoreFactory $temp_store_factory: The factory for the temp store object. File core/modules/views_ui/src/Form/BreakLockForm.php, line 38 Class BreakLockForm Builds the form to break the lock of an edited v

EntityForm::setModuleHandler

public EntityForm::setModuleHandler(ModuleHandlerInterface $module_handler) Sets the module handler for this form. Parameters \Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler. Return value $this Overrides EntityFormInterface::setModuleHandler File core/lib/Drupal/Core/Entity/EntityForm.php, line 410 Class EntityForm Base class for entity forms. Namespace Drupal\Core\Entity Code public function setModuleHandler(ModuleHandlerInterface $module_handler) {