Is there a way to delete a taxonomy term without its children being deleted and without going through the Taxonomy Manager contributed module (This module causes a problem when editing a term)?
I built a module that is used to manage data import from another rest resource.
So the main goal is to have a form with a table and users can select which rows to import.
What I need is to display form element pager and limit items per page, there is simple solution when working with Drupal entities:
$pager = $query->pager('10');
But now I need to add element '#type' => 'pager' that is not related to the database but to the rest resource instead. Any idea how to achieve this?
However, on the page, I'd like to tell the user which results they are seeing out of how many total (e.g. "Viewing 15-20 of 48"). I can't figure out how to get at any of that range and total data though and finding nothing online for Drupal 9. Thanks for any assistance.