function acquia_contenthub_update_8402 in Acquia Content Hub 8
Remove crop entities from contenthub entity configuration.
File
- ./
acquia_contenthub.install, line 244 - Install, update and uninstall functions for the acquia_contenthub module.
Code
function acquia_contenthub_update_8402() {
$entity = \Drupal::entityTypeManager()
->getStorage('acquia_contenthub_entity_config')
->load('crop');
if ($entity) {
$entity
->delete();
}
}