CommentStorageSchema::getSharedTableFieldSchema

protected CommentStorageSchema::getSharedTableFieldSchema(FieldStorageDefinitionInterface $storage_definition, $table_name, array $column_mapping) Gets the schema for a single field definition. Entity types may override this method in order to optimize the generated schema for given field. While all optimizations that apply to a single field have to be added here, all cross-field optimizations should be via SqlContentEntityStorageSchema::getEntitySchema() instead; e.g., an index spanning multip

MenuTreeStorage::$options

Additional database connection options to use in queries. Type: array File core/lib/Drupal/Core/Menu/MenuTreeStorage.php, line 58 Class MenuTreeStorage Provides a menu tree storage using the database. Namespace Drupal\Core\Menu Code protected $options = array();

ShortcutSetForm

Form handler for the shortcut set entity edit forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\BundleEntityFormBaseclass \Drupal\shortcut\ShortcutSetForm File core/modules/shortcut/src/ShortcutSetForm.ph

Insert::__toString

public Insert::__toString() Implements PHP magic __toString method to convert the query to a string. Return value string The prepared statement. Overrides Insert::__toString File core/lib/Drupal/Core/Database/Driver/sqlite/Insert.php, line 28 Class Insert SQLite implementation of \Drupal\Core\Database\Query\Insert. Namespace Drupal\Core\Database\Driver\sqlite Code public function __toString() { // Create a sanitized comment string to prepend to the query. $comments = $this->con

BreadcrumbManager::__construct

public BreadcrumbManager::__construct(ModuleHandlerInterface $module_handler) Constructs a \Drupal\Core\Breadcrumb\BreadcrumbManager object. Parameters \Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler. File core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php, line 49 Class BreadcrumbManager Provides a breadcrumb manager. Namespace Drupal\Core\Breadcrumb Code public function __construct(ModuleHandlerInterface $module_handler) { $this->moduleHandl

CommentStorage::getChildCids

public CommentStorage::getChildCids(array $comments) Gets the comment ids of the passed comment entities' children. Parameters \Drupal\comment\CommentInterface[] $comments: An array of comment entities keyed by their ids. Return value array The entity ids of the passed comment entities' children as an array. Overrides CommentStorageInterface::getChildCids File core/modules/comment/src/CommentStorage.php, line 194 Class CommentStorage Defines the storage handler class for comments. Name

LanguageConfigFactoryOverride

Provides language overrides for the configuration factory. Hierarchy class \Drupal\Core\Config\ConfigFactoryOverrideBase implements EventSubscriberInterfaceclass \Drupal\language\Config\LanguageConfigFactoryOverride implements LanguageConfigFactoryOverrideInterface, EventSubscriberInterface uses LanguageConfigCollectionNameTrait File core/modules/language/src/Config/LanguageConfigFactoryOverride.php, line 20 Namespace Drupal\language\Config Members Name Modifiers Type Descripti

Schema

SQLite implementation of \Drupal\Core\Database\Schema. Hierarchy class \Drupal\Core\Database\Schema implements PlaceholderInterfaceclass \Drupal\Core\Database\Driver\sqlite\Schema Related topics Schema API API to handle database schemas. File core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php, line 18 Namespace Drupal\Core\Database\Driver\sqlite Members Name Modifiers Type Description Schema::$connection protected property The database connection. Schema::$defau

format_string

format_string($string, array $args) Formats a string for HTML display by replacing variable placeholders. Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. Use \Drupal\Component\Render\FormattableMarkup. See also \Drupal\Component\Render\FormattableMarkup::placeholderFormat() \Drupal\Component\Render\FormattableMarkup t() Related topics Sanitization functions Functions to sanitize values. File core/includes/bootstrap.inc, line 315 Functions that need to be loaded on every D

ContactFormEditForm::form

public ContactFormEditForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides EntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/contact/src/ContactFormEditForm.php, line 69 Class ContactFormEditForm Base form for contact form edit forms. Namespace Drupal\contact Code public function form(array $form, FormStateInterface $form_state) { $form = parent::