You are here

function entity_print_update_8103 in Entity Print 8.2

Rename the plugin id.

File

./entity_print.install, line 71
Entity Print installation file.

Code

function entity_print_update_8103() {
  if ($config = \Drupal::configFactory()
    ->getEditable('system.action.entity_print_pdf_download_action')) {
    $config
      ->set('plugin', 'entity_print_download_action')
      ->save(TRUE);
  }
}