FieldStorageConfigInterface

Provides an interface defining a field storage entity. Hierarchy interface \Drupal\Core\Config\Entity\ConfigEntityInterface; interface \Drupal\Core\Field\FieldStorageDefinitionInterfaceinterface \Drupal\field\FieldStorageConfigInterface File core/modules/field/src/FieldStorageConfigInterface.php, line 11 Namespace Drupal\field Members Name Modifiers Type Description AccessibleInterface::access public function Checks data value access. CacheableDependencyInterface::get

ResponsiveImageStyle::setBreakpointGroup

public ResponsiveImageStyle::setBreakpointGroup($breakpoint_group) Sets the breakpoint group for the responsive image style. Parameters string $breakpoint_group: The responsive image style breakpoint group. Return value $this Overrides ResponsiveImageStyleInterface::setBreakpointGroup File core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php, line 155 Class ResponsiveImageStyle Defines the responsive image style entity. Namespace Drupal\responsive_image\Entity Code publi

ReorderDisplays

Displays the display reorder form. 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\ReorderDisplays File core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php, line 12 Namespace Drupal\view

QuickEditController::fieldForm

public QuickEditController::fieldForm(EntityInterface $entity, $field_name, $langcode, $view_mode_id, Request $request) Returns a single field edit form as an Ajax response. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity being edited. string $field_name: The name of the field that is being edited. string $langcode: The name of the language for which the field is being edited. string $view_mode_id: The view mode the field should be rerendered in. \Symfony\Component\HttpFound

Color

Provides a form element for choosing a color. Properties: #default_value: Default value, in a format like #ffffff. Example usage: $form['color'] = array( '#type' => 'color', '#title' => $this->t('Color'), '#default_value' => '#ffffff', ); Plugin annotation @FormElement("color") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, String

file_create_url

file_create_url($uri) Creates a web-accessible URL for a stream to an external or local file. Compatibility: normal paths and stream wrappers. There are two kinds of local files: "managed files", i.e. those stored by a Drupal-compatible stream wrapper. These are files that have either been uploaded by users or were generated automatically (for example through CSS aggregation). "shipped files", i.e. those outside of the files directory, which ship as part of Drupal core or contributed modules or

ConfigNamesMapper

Configuration mapper base implementation. Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\config_translation\ConfigNamesMapper implements ConfigMapperInterface, ContainerFactoryPluginInterface File core/modules/config_translation/src/ConfigNamesMapper.php, line 24 Namespace Drupal\config_translation Members

TextFormat

Provides a text format render element. Properties: #base_type: The form element #type to use for the 'value' element. 'textarea' by default. #format: (optional) The text format ID to preselect. If omitted, the default format for the current user will be used. #allowed_formats: (optional) An array of text format IDs that are available for this element. If omitted, all text formats that the current user has access to will be allowed. Usage Example: $form['body'] = array( '#type' => 'tex

BookRemoveForm

Remove form for book module. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\book\Form\BookRemoveForm File core/modules/book/src/Form/BookRemoveForm.php, line 14 Namespace Drupal\book\Form Members Name Modifie

DrupalDateTime::format

public DrupalDateTime::format($format, $settings = array()) Overrides format(). Parameters string $format: A format string using either PHP's date(). array $settings: timezone: (optional) String timezone name. Defaults to the timezone of the date object. langcode: (optional) String two letter language code used to control the result of the format() method. Defaults to NULL. Return value string The formatted value of the date. Since the format may contain user input, this value should be e