Get field content of all instances of a field
If i understand correctly you have field_call_to_action_link in node, paragraph, block entities. And you would like to get values from this field from all entities which contain this field.

I would use EntityQuery and condition to check if field exists in given Entity.

$query = \Drupal::entityQuery('node')
-&gt;condition('status', 1)
-&gt;condition('field_call_to_action_link', 'NULL', 'IS NOT NULL')
-&gt;execute();


this should give you all published nodes which contain field_call_to_action_link. You can obtain 'block' Entity the same way only change 'node' to 'block'.



Useful links:


Condition exists DOC link
EntityQuery DOC link