public function mapTaxonomyTermField($field_name, $vid) {
    $entities = $this->populateTaxonomyTermField($field_name, $vid);
    if (!empty($entities)) {
      return $entities;
    }
    return [];
  }
public function mapTaxonomyTermField($field_name, $vid) {
    $entities = $this->populateTaxonomyTermField($field_name, $vid);
    if (!empty($entities)) {
      return $entities;
    }
    return [];
  }
public function mapTaxonomyTermField ( $ field_name , $ vid ) { $ entities = $ this -> populateTaxonomyTermField ( $ field_name , $ vid ) ; if ( ! empty ( $ entities ) ) { return $ entities ; } return [ ] ; }
Maps a taxonomy field.

@param string $field_name
Field name.
@param string $vid
Taxonomy vid.

@return array
Returns media entities.
Maps a taxonomy field .