HelpController::__construct

public HelpController::__construct(RouteMatchInterface $route_match, HelpSectionManager $help_manager) Creates a new HelpController. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. \Drupal\help\HelpSectionManager $help_manager: The help section manager. File core/modules/help/src/Controller/HelpController.php, line 39 Class HelpController Controller routines for help routes. Namespace Drupal\help\Controller Code public function __construct(Ro

MenuTreeStorage::schemaDefinition

protected static MenuTreeStorage::schemaDefinition() Defines the schema for the tree table. Return value array The schema API definition for the SQL storage table. File core/lib/Drupal/Core/Menu/MenuTreeStorage.php, line 1204 Class MenuTreeStorage Provides a menu tree storage using the database. Namespace Drupal\Core\Menu Code protected static function schemaDefinition() { $schema = array( 'description' => 'Contains the menu tree hierarchy.', 'fields' => array( '

ThemeSettingsForm::buildForm

public ThemeSettingsForm::buildForm(array $form, FormStateInterface $form_state, $theme = '') Parameters string $theme: The theme name. Overrides ConfigFormBase::buildForm File core/modules/system/src/Form/ThemeSettingsForm.php, line 101 Class ThemeSettingsForm Displays theme configuration for entire site and individual themes. Namespace Drupal\system\Form Code public function buildForm(array $form, FormStateInterface $form_state, $theme = '') { $form = parent::buildForm($form, $for

LocalStream::stream_write

public LocalStream::stream_write($data) Support for fwrite(), file_put_contents() etc. Parameters string $data: The string to be written. Return value int The number of bytes written. Overrides PhpStreamWrapperInterface::stream_write See also http://php.net/manual/streamwrapper.stream-write.php File core/lib/Drupal/Core/StreamWrapper/LocalStream.php, line 225 Class LocalStream Defines a Drupal stream wrapper base class for local files. Namespace Drupal\Core\StreamWrapper Code public

ViewEditForm::submitDisplayDelete

public ViewEditForm::submitDisplayDelete($form, FormStateInterface $form_state) Submit handler to delete a display from a view. File core/modules/views_ui/src/ViewEditForm.php, line 629 Class ViewEditForm Form controller for the Views edit form. Namespace Drupal\views_ui Code public function submitDisplayDelete($form, FormStateInterface $form_state) { $view = $this->entity; $display_id = $form_state->get('display_id'); // Mark the display for deletion. $displays = $view-

ViewAccessControlHandler

Defines the access control handler for the view entity type. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityAccessControlHandler implements EntityAccessControlHandlerInterfaceclass \Drupal\views\ViewAccessControlHandler See also \Drupal\views\Entity\View File core/modules/views/src/ViewAccessControlHandler.php, line 15 Namespace Drupal\views Members Name Modifiers Type Description

HelpSection::$id

The plugin ID. Type: string File core/modules/help/src/Annotation/HelpSection.php, line 29 Class HelpSection Defines a Plugin annotation object for help page section plugins. Namespace Drupal\help\Annotation Code public $id;

BaseFieldDefinition::getColumns

public BaseFieldDefinition::getColumns() Returns the field columns, as defined in the field schema. Return value array[] The array of field columns, keyed by column name, in the same format returned by getSchema(). Overrides FieldStorageDefinitionInterface::getColumns See also \Drupal\Core\Field\FieldStorageDefinitionInterface::getSchema() File core/lib/Drupal/Core/Field/BaseFieldDefinition.php, line 656 Class BaseFieldDefinition A class for defining entity fields. Namespace Drupal\Co

FormElementBase::getTranslationElement

protected FormElementBase::getTranslationElement(LanguageInterface $translation_language, $source_config, $translation_config) Returns the translation form element for a given configuration definition. For complex data structures (such as mappings) that are translatable wholesale but contain non-translatable properties, the form element is responsible for checking access to the source value of those properties. In case of formatted text, for example, access to the source text format must be che

Merge::useDefaults

public Merge::useDefaults(array $fields) Specifies fields for which the database-defaults should be used. If you want to force a given field to use the database-defined default, not NULL or undefined, use this method to instruct the database to use default values explicitly. In most cases this will not be necessary unless you are inserting a row that is all default values, as you cannot specify no values in an INSERT query. Specifying a field both in fields() and in useDefaults() is an error an