EntityForm::$entityTypeManager

The entity type manager. Type: \Drupal\Core\Entity\EntityTypeManagerInterface File core/lib/Drupal/Core/Entity/EntityForm.php, line 49 Class EntityForm Base class for entity forms. Namespace Drupal\Core\Entity Code protected $entityTypeManager;

editor_form_filter_admin_format_validate

editor_form_filter_admin_format_validate($form, FormStateInterface $form_state) Additional validate handler for filter_format_form(). File core/modules/editor/editor.module, line 215 Adds bindings for client-side "text editors" to text formats. Code function editor_form_filter_admin_format_validate($form, FormStateInterface $form_state) { // This validate handler is not applicable when using the 'Configure' button. if ($form_state->getTriggeringElement()['#name'] === 'editor_configure'

CommentTypeForm::$logger

A logger instance. Type: \Psr\Log\LoggerInterface File core/modules/comment/src/CommentTypeForm.php, line 30 Class CommentTypeForm Base form handler for comment type edit forms. Namespace Drupal\comment Code protected $logger;

FormStateInterface::disableCache

public FormStateInterface::disableCache() Prevents the form from being cached. Return value $this File core/lib/Drupal/Core/Form/FormStateInterface.php, line 675 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code public function disableCache();

DblogFilterForm::getFormId

public DblogFilterForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/dblog/src/Form/DblogFilterForm.php, line 16 Class DblogFilterForm Provides the database logging filter form. Namespace Drupal\dblog\Form Code public function getFormId() { return 'dblog_filter_form'; }

EntityForm::copyFormValuesToEntity

protected EntityForm::copyFormValuesToEntity(EntityInterface $entity, array $form, FormStateInterface $form_state) Copies top-level form values to entity properties This should not change existing entity properties that are not being edited by this form. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity the current form should operate upon. array $form: A nested array of form elements comprising the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of t

PathFormBase::$path

An array containing the path ID, source, alias, and language code. Type: array File core/modules/path/src/Form/PathFormBase.php, line 24 Class PathFormBase Provides a base class for path add/edit forms. Namespace Drupal\path\Form Code protected $path;

ConfigManager::findMissingContentDependencies

public ConfigManager::findMissingContentDependencies() Finds missing content dependencies declared in configuration entities. Return value array A list of missing content dependencies. The array is keyed by UUID. Each value is an array with the following keys: 'entity_type', 'bundle' and 'uuid'. Overrides ConfigManagerInterface::findMissingContentDependencies File core/lib/Drupal/Core/Config/ConfigManager.php, line 459 Class ConfigManager The ConfigManager provides helper functions for th

FileCacheFactory::setConfiguration

public static FileCacheFactory::setConfiguration($configuration) Sets the configuration to use for constructing future file cache objects. Parameters array $configuration: The configuration to use. File core/lib/Drupal/Component/FileCache/FileCacheFactory.php, line 92 Class FileCacheFactory Creates a FileCache object. Namespace Drupal\Component\FileCache Code public static function setConfiguration($configuration) { static::$configuration = $configuration; }

OptimizedPhpArrayDumper::getParameters

protected OptimizedPhpArrayDumper::getParameters() Gets parameters of the container as a PHP array. Return value array The escaped and prepared parameters of the container. File core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php, line 99 Class OptimizedPhpArrayDumper OptimizedPhpArrayDumper dumps a service container as a serialized PHP array. Namespace Drupal\Component\DependencyInjection\Dumper Code protected function getParameters() { if (!$this->c