Problem/Motivation

We need an audit storage service that can

  1. write an audit entry to the new alt_text_validation_audit table
  2. empty the table
  3. populate the table with test content

Read and Update operations are not needed because we do not ever need to update individual entries in the table as the table just gets rebuilt completely

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#6 alt-service.png128.48 KBswirt
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

swirt created an issue. See original summary.

swirt’s picture

Issue summary: View changes
swirt’s picture

swirt’s picture

swirt’s picture

Assigned: Unassigned » swirt
swirt’s picture

StatusFileSize
new128.48 KB

write, truncate and generate test data are working.

Oddly enough, I can not get the drush command to register.

However calling the service with eval works.

drush php:eval "\Drupal::service('alt_text_validation.audit_service')->generateTestData();"

drush php:eval "\Drupal::service('alt_text_validation.audit_service')->truncateTable();"

swirt’s picture

Status: Active » Fixed
swirt’s picture

Status: Fixed » Closed (fixed)