case VocabularyInterface::HIERARCHY_MULTIPLE:
$help_message =
$this->
t('%capital_name contains terms with multiple parents.',
$args);
break;
} } // Get the IDs of the terms edited on the current page which have pending
// revisions.
$edited_term_ids =
array_map(function D
$item) { return $item->
id();
},
$current_page);
$pending_term_ids =
array_intersect($this->storageController->
getTermIdsWithPendingRevisions(),
$edited_term_ids);
if ($pending_term_ids) { $help_message =
$this->
formatPlural( count($pending_term_ids),
'%capital_name contains 1 term with pending revisions. Drag and drop of terms with pending revisions is not supported, but you can re-enable drag-and-drop support by getting each term to a published state.',
'%capital_name contains @count terms with pending revisions. Drag and drop of terms with pending revisions is not supported, but you can re-enable drag-and-drop support by getting each term to a published state.',
$args );
} // Only allow access to change parents and reorder the tree if there are no
// pending revisions and there are no terms with multiple parents.