Wed, 07/21/2021 - 21:51 Example: Get tag IDs from a given node $getId = function ($item) { return $item['target_id']; }; $tag_ids = array_map($getId, $node->field_tags->getValue()); Authored by devon Tags drupal Drupal 8 Drupal 9