Skip to main content

New answers tagged

0 votes

Content editor cannot view unpublished taxonomy terms when editing a node

Granting the Taxonomy permission "Administer vocabularies and terms" will allow editors to see all terms on the node edit form for a given vocabulary. Of course, this may be too permissive ...
Chris's user avatar
  • 1
0 votes

How to delete a vocabulary terms programmatically?

With Drupal 10 need to add accessCheck(). $tids = \Drupal::entityQuery('mycustomvocab') ->condition('vid', 'person_location') ->accessCheck(FALSE) ->execute(); $controller = \Drupal::...
Ruslan P's user avatar
  • 220
1 vote

Entity Validation API not invoked on saving the taxonomy overview form – misunderstanding or a bug?

The entity validation API is only invoked if you explicitly call the validate function of the entity. This is normally done in the validateForm function of the form. In the OverviewTerms form no ...
Chris4783's user avatar
  • 1,108

Top 50 recent answers are included