crop-8.x-2.x-dev/crop.api.php
crop.api.php
<?php
/**
* @file
* Hooks related to crop API.
*/
/**
* @addtogroup hooks
* @{
*/
/**
* Alter the information provided in \Drupal\crop\Annotation\CropEntityProvider.
*
* @param array $providers
* The array of provider plugins, keyed by the machine-readable name.
*/
function hook_crop_entity_provider_info_alter(array &$providers) {
$providers['media']['label'] = t('Super fancy provider for media entity!');
}
/**
* @} End of "addtogroup hooks".
*/
