function lightning_workflow_post_update_import_moderated_content_view in Lightning Workflow 8.3
Imports the moderated_content view.
File
- ./
lightning_workflow.post_update.php, line 13 - Contains post-update functions for Lightning Workflow.
Code
function lightning_workflow_post_update_import_moderated_content_view() {
if (Drupal::moduleHandler()
->moduleExists('views')) {
Config::forModule('content_moderation')
->optional()
->getEntity('view', 'moderated_content')
->save();
}
}