function fillpdf_test_entity_operation_alter in FillPDF 8.4
Same name and namespace in other branches
- 5.0.x tests/modules/fillpdf_test/fillpdf_test.module \fillpdf_test_entity_operation_alter()
Implements hook_entity_operation_alter().
File
- tests/
modules/ fillpdf_test/ fillpdf_test.module, line 77 - Contains fillpdf_test.module.
Code
function fillpdf_test_entity_operation_alter(array &$operations, EntityInterface $entity) {
if ($entity
->getEntityTypeId() == 'fillpdf_form') {
$operations['import']['title'] = t('Import configuration test');
}
}