SanitizeUserFieldsListener
final class SanitizeUserFieldsListener (View source)
Sanitize user fields. This also an example of how to write a database sanitizer.
Traits
A copy of \Drupal\Core\DependencyInjection\AutowireTrait with first params' type hint changed.
Methods
static
create(ContainerInterface $container)
Instantiates a new instance of the implementing class using autowiring.
from
AutowireTrait
__construct(Connection $database, EntityFieldManagerInterface $entityFieldManager, EntityTypeManagerInterface $entityTypeManager, FieldTypePluginManagerInterface $fieldTypePluginManager, LoggerInterface $logger)
No description
void
void
void
onConsoleTerminate(ConsoleTerminateEvent $event)
No description
Details
static
create(ContainerInterface $container)
Instantiates a new instance of the implementing class using autowiring.
__construct(Connection $database, EntityFieldManagerInterface $entityFieldManager, EntityTypeManagerInterface $entityTypeManager, FieldTypePluginManagerInterface $fieldTypePluginManager, LoggerInterface $logger)
No description
void
onDefinition(ConsoleDefinitionsEvent $event)
No description
void
onSanitizeConfirm(SanitizeConfirmsEvent $event)
No description
void
onConsoleTerminate(ConsoleTerminateEvent $event)
No description