Skip to content

Commit

Permalink
Custom data-dictionary identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeder committed Dec 13, 2023
1 parent 7c145fc commit de45f2c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/metastore/metastore.install
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,12 @@ function metastore_update_8007() {
$config = \Drupal::service('config.factory')->getEditable('node.type.data');
$config->set('preview_mode', 1)->save();
}


/**
* Restore the preveiw button on data form.
*/
function metastore_update_8008() {
$all = \Drupal::service('dkan.metastore.service')->getAll('data-dictionary');
print_r($all)
}

0 comments on commit de45f2c

Please sign in to comment.