ContentLanguageSettingsInterface

Provides an interface defining language settings for content entities. Hierarchy interface \Drupal\Core\Entity\EntityInterface; interface \Drupal\Core\Config\Entity\ThirdPartySettingsInterfaceinterface \Drupal\Core\Config\Entity\ConfigEntityInterfaceinterface \Drupal\language\ContentLanguageSettingsInterface File core/modules/language/src/ContentLanguageSettingsInterface.php, line 10 Namespace Drupal\language Members Name Modifiers Type Description AccessibleInterface::acces

Update::expression

public Update::expression($field, $expression, array $arguments = NULL) Specifies fields to be updated as an expression. Expression fields are cases such as counter=counter+1. This method takes precedence over fields(). Parameters $field: The field to set. $expression: The field will be set to the value of this expression. This parameter may include named placeholders. $arguments: If specified, this is an array of key/value pairs for named placeholders corresponding to the expression. Return v

Weight

Provides a form element for input of a weight. Weights are integers used to indicate ordering, with larger numbers later in the order. Properties: #delta: The range of possible weight values used. A delta of 10 would indicate possible weight values between -10 and 10. Usage example: $form['weight'] = array( '#type' => 'weight', '#title' => $this->t('Weight'), '#default_value' => $edit['weight'], '#delta' => 10, ); Plugin annotation @FormElement("weight") Hierarchy cl

system_requirements

system_requirements($phase) Implements hook_requirements(). File core/modules/system/system.install, line 25 Install, update and uninstall functions for the system module. Code function system_requirements($phase) { global $install_state; $requirements = array(); // Report Drupal version if ($phase == 'runtime') { $requirements['drupal'] = array( 'title' => t('Drupal'), 'value' => \Drupal::VERSION, 'severity' => REQUIREMENT_INFO, 'weight' => -1

RESPONSIVE_IMAGE_EMPTY_IMAGE

The machine name for the empty image breakpoint image style option. File core/modules/responsive_image/responsive_image.module, line 20 Responsive image display formatter for image fields. Code const RESPONSIVE_IMAGE_EMPTY_IMAGE = '_empty image_';

BlockController

Controller routines for admin block routes. Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\block\Controller\BlockController File core/modules/block/src/Controller/BlockController.php, line 14 Namespace Drupal\block\Controller Members Name Modifiers Type Description BlockController::$themeHandler protecte

DefaultTableMapping::getFieldNames

public DefaultTableMapping::getFieldNames($table_name) Gets a list of names for entity fields stored in the specified table. The return list is contains the entity field names, not database field (i.e. column) names. To get the mapping of specific entity field to database columns use ::getColumnNames(). Parameters string $table_name: The name of the table to return the field names for. Return value string[] An array of field names for the given table. Overrides TableMappingInterface::getField

ViewFormBase

Base form for Views forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\views_ui\ViewFormBase File core/modules/views_ui/src/ViewFormBase.php, line 13 Namespace Drupal\views_ui Members Name Modifiers Type D

TranslateFormBase::$languageManager

The language manager. Type: \Drupal\Core\Language\LanguageManagerInterface File core/modules/locale/src/Form/TranslateFormBase.php, line 37 Class TranslateFormBase Defines the locale user interface translation form base. Namespace Drupal\locale\Form Code protected $languageManager;

WidgetBase::form

public WidgetBase::form(FieldItemListInterface $items, array &$form, FormStateInterface $form_state, $get_delta = NULL) Creates a form element for a field. If the entity associated with the form is new (i.e., $entity->isNew() is TRUE), the 'default value', if any, is pre-populated. Also allows other modules to alter the form element by implementing their own hooks. Parameters \Drupal\Core\Field\FieldItemListInterface $items: An array of the field values. When creating a new entity this