uber_publisher_author_profile-7.0.0/uber_publisher_author_profile.install
uber_publisher_author_profile.install
<?php
/**
* @file
* Install, update and uninstall functions for the uber_publisher_author_profile module.
*/
/**
* Implements hook_install().
*/
function uber_publisher_author_profile_install() {
$config_factory = \Drupal::configFactory();
$config = $config_factory->getEditable('workflows.workflow.varbase_editorial_workflow');
$config_array = $config->get();
$config_array['type_settings']['entity_types']['node'][] = 'author_profile';
$config->set('type_settings', $config_array['type_settings']);
$config->save();
}
