Commit 1a87223b authored by tlyngej's avatar tlyngej

Add inline comments to config_ignore_config_import_steps_alter()

parent 1bc3aa60
......@@ -11,6 +11,11 @@ use Drupal\Core\Config\ConfigImporter;
* Implements hook_config_import_steps_alter().
*/
function config_ignore_config_import_steps_alter(&$sync_steps, ConfigImporter $config_importer) {
// Add a "step" to the config import workflow, before any other step is
// getting executed.
array_unshift($sync_steps, ['Drupal\config_ignore\ConfigImporterIgnore', 'preImport']);
// Add a step that should be the last to run during the config import
// workflow.
array_push($sync_steps, ['Drupal\config_ignore\ConfigImporterIgnore', 'postImport']);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment