QueryBase::__construct

public QueryBase::__construct(EntityTypeInterface $entity_type, $conjunction, array $namespaces) Constructs this object. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. string $conjunction: AND: all of the conditions on the query need to match. OR: at least one of the conditions on the query need to match. array $namespaces: List of potential namespaces of the classes belonging to this query. File core/lib/Drupal/Core/Entity/Query/QueryBase.php,

SystemMenuOffCanvasForm

The off-canvas form handler for the SystemMenuBlock. Hierarchy class \Drupal\Core\Plugin\PluginFormBase implements PluginAwareInterface, PluginFormInterfaceclass \Drupal\outside_in\Form\SystemMenuOffCanvasForm implements ContainerInjectionInterface uses RedirectDestinationTrait, StringTranslationTrait See also outside_in_block_alter() File core/modules/outside_in/src/Form/SystemMenuOffCanvasForm.php, line 23 Namespace Drupal\outside_in\Form Members Name Modifiers Type Descript

ImageStyle

Defines an image style configuration entity. Plugin annotation @ConfigEntityType( id = "image_style", label = @Translation("Image style"), handlers = { "form" = { "add" = "Drupal\image\Form\ImageStyleAddForm", "edit" = "Drupal\image\Form\ImageStyleEditForm", "delete" = "Drupal\image\Form\ImageStyleDeleteForm", "flush" = "Drupal\image\Form\ImageStyleFlushForm" }, "list_builder" = "Drupal\image\ImageStyleListBuilder", "storage" = "Drupal\image\ImageSt

node_add_body_field

node_add_body_field(NodeTypeInterface $type, $label = 'Body') Adds the default body field to a node type. Parameters \Drupal\node\NodeTypeInterface $type: A node type object. string $label: (optional) The label for the body instance. Return value \Drupal\field\Entity\FieldConfig A Body field object. File core/modules/node/node.module, line 322 The core module that allows content to be submitted to the site. Code function node_add_body_field(NodeTypeInterface $type, $label = 'Body') { // A

SearchPage

Defines a configured search page. Plugin annotation @ConfigEntityType( id = "search_page", label = @Translation("Search page"), handlers = { "access" = "Drupal\search\SearchPageAccessControlHandler", "list_builder" = "Drupal\search\SearchPageListBuilder", "form" = { "add" = "Drupal\search\Form\SearchPageAddForm", "edit" = "Drupal\search\Form\SearchPageEditForm", "search" = "Drupal\search\Form\SearchPageForm", "delete" = "Drupal\Core\Entity\EntityDeleteF

ConfigHandlerExtra

Provides a form for configuring extra information for a Views UI item. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\views_ui\Form\Ajax\ViewsFormBase implements ViewsFormInterfaceclass \Drupal\views_ui\Form\Ajax\ConfigHandlerExtra File core/modules/views_ui/src/Form/Ajax/ConfigHandlerEx

ConfigurableLanguageManager::updateLockedLanguageWeights

public ConfigurableLanguageManager::updateLockedLanguageWeights() Updates locked system language weights. Overrides ConfigurableLanguageManagerInterface::updateLockedLanguageWeights File core/modules/language/src/ConfigurableLanguageManager.php, line 344 Class ConfigurableLanguageManager Overrides default LanguageManager to provide configured languages. Namespace Drupal\language Code public function updateLockedLanguageWeights() { // Get the weight of the last configurable language.

FormStateDecoratorBase::setRequestMethod

public FormStateDecoratorBase::setRequestMethod($method) Sets the HTTP method used by the request that is building the form. Parameters string $method: Can be any valid HTTP method, such as GET, POST, HEAD, etc. Return value $this Overrides FormStateInterface::setRequestMethod See also \Drupal\Core\Form\FormStateInterface::setMethod() File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 169 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Fo

Schema::changeField

public Schema::changeField($table, $field, $field_new, $spec, $keys_new = array()) Change a field definition. IMPORTANT NOTE: To maintain database portability, you have to explicitly recreate all indices and primary keys that are using the changed field. That means that you have to drop all affected keys and indexes with db_drop_{primary_key,unique_key,index}() before calling db_change_field(). To recreate the keys and indices, pass the key definitions as the optional $keys_new argument directl

MenuLinkTree::$routeProvider

The route provider to load routes by name. Type: \Drupal\Core\Routing\RouteProviderInterface File core/lib/Drupal/Core/Menu/MenuLinkTree.php, line 29 Class MenuLinkTree Implements the loading, transforming and rendering of menu link trees. Namespace Drupal\Core\Menu Code protected $routeProvider;