Get tid

$storyVid = <vid of the taxonomy you want to match the term to>
$storyTerms = taxonomy_get_term_by_name($termName);
foreach ($storyTerms as $storyTerm) {
  if ( $storyTerm->vid != $storyVid ) {
    $storyTid = $storyTerm->tid;
  }
}

Recent Updates

  • 11 months 1 week ago
    1.27.2 update
  • 11 months 3 weeks ago
    Drupal 10/11 config
  • 11 months 3 weeks ago
  • PHP
    11 months 3 weeks ago
    PHP 8.3.11 and AlmaLinux
  • 11 months 3 weeks ago
    New version of Pound
Error | Production Monkeys

Error

The website encountered an unexpected error. Please try again later.