- Issue created by @arunkumark
- @arunkumark opened merge request.
- 🇮🇳India arunkumark Coimbatore
With help of the MR !4, We can able to alter the results of the Entity select list.
/** * Implements hook_verf_entites_options_alter(). */ function example_verf_entites_options_alter(&$referenceable_entities) { foreach ($referenceable_entities as $key => $entites) { if (!$entites->hasRole('administrator')) { unset($referenceable_entities[$key]); } } }
- Status changed to Needs review
almost 2 years ago 4:06pm 20 March 2023 - First commit to issue fork.
- Status changed to Fixed
almost 2 years ago 10:13am 11 May 2023 Automatically closed - issue fixed for 2 weeks with no activity.