DblogFilterForm::submitForm

public DblogFilterForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/dblog/src/Form/DblogFilterForm.php, line 75 Class DblogFilterForm Provides the database logging filter form. Namespace Drupal\dblog\Form Code public function sub

DblogFilterForm::resetForm

public DblogFilterForm::resetForm(array &$form, FormStateInterface $form_state) Resets the filter form. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. File core/modules/dblog/src/Form/DblogFilterForm.php, line 92 Class DblogFilterForm Provides the database logging filter form. Namespace Drupal\dblog\Form Code public function resetForm(array &$form, FormStateInte

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'; }

DblogFilterForm::buildForm

public DblogFilterForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides FormInterface::buildForm File core/modules/dblog/src/Form/DblogFilterForm.php, line 23 Class DblogFilterForm Provides the database logging filter form. Namespace Drupal\dblog\Form

DblogFilterForm

Provides the database logging filter form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\dblog\Form\DblogFilterForm File core/modules/dblog/src/Form/DblogFilterForm.php, line 11 Namespace Drupal\dblog\Form Members Name Modifiers Type Description DblogFilterForm::buildForm

DbLogController::__construct

public DbLogController::__construct(Connection $database, ModuleHandlerInterface $module_handler, DateFormatterInterface $date_formatter, FormBuilderInterface $form_builder) Constructs a DbLogController object. Parameters \Drupal\Core\Database\Connection $database: A database connection. \Drupal\Core\Extension\ModuleHandlerInterface $module_handler: A module handler. \Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service. \Drupal\Core\Form\FormBuilderInterface

DbLogController::topLogMessages

public DbLogController::topLogMessages($type) Shows the most frequent log messages of a given event type. Messages are not truncated on this page because events detailed herein do not have links to a detailed view. Use one of the above *Report() methods. Parameters string $type: Type of database log events to display (e.g., 'search'). Return value array A build array in the format expected by drupal_render(). File core/modules/dblog/src/Controller/DbLogController.php, line 380 Class DbLog

DbLogController::overview

public DbLogController::overview() Displays a listing of database log messages. Messages are truncated at 56 chars. Full-length messages can be viewed on the message details page. Return value array A render array as expected by drupal_render(). See also dblog_clear_log_form() dblog_event() File core/modules/dblog/src/Controller/DbLogController.php, line 121 Class DbLogController Returns responses for dblog routes. Namespace Drupal\dblog\Controller Code public function overview() {

DbLogController::getLogLevelClassMap

public static DbLogController::getLogLevelClassMap() Gets an array of log level classes. Return value array An array of log level classes. File core/modules/dblog/src/Controller/DbLogController.php, line 96 Class DbLogController Returns responses for dblog routes. Namespace Drupal\dblog\Controller Code public static function getLogLevelClassMap() { return array( RfcLogLevel::DEBUG => 'dblog-debug', RfcLogLevel::INFO => 'dblog-info', RfcLogLevel::NOTICE => 'dblog

DbLogController::formatMessage

public DbLogController::formatMessage($row) Formats a database log message. Parameters object $row: The record from the watchdog table. The object properties are: wid, uid, severity, type, timestamp, message, variables, link, name. Return value string|\Drupal\Core\StringTranslation\TranslatableMarkup|false The formatted log message or FALSE if the message or variables properties are not set. File core/modules/dblog/src/Controller/DbLogController.php, line 344 Class DbLogController Return