Neuen Kommentar hinzufügen

Thanks for the first comment on this blog. :)

As you can see in the screenshot, our use case needed the function to display the list of nodes which are using the term in order for the admin to decide, if they want to alter the nodes and then delete, or not to bother with the deletion. That's why we needed an accurate list showing the nodes.
However in case we are talking hundreds of nodes, your idea of limiting the query and adding an ellipsis is an elegant solution.
Disabling the button is the obvious alternative, would be $form['actions']['submit']['#disabled'] = TRUE; though.
Going to add a comment in the code to indicate that as well.

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.

Restricted HTML

  • Erlaubte HTML-Tags: <a href hreflang target> <em> <strong> <cite> <blockquote cite> <pre> <ul type> <ol start type> <li> <dl> <dt> <dd> <h4 id> <h5 id> <h6 id>
  • Zeilenumbrüche und Absätze werden automatisch erzeugt.
  • Website- und E-Mail-Adressen werden automatisch in Links umgewandelt.

Angebot innerhalb von 24 Stunden

Ob ein großes kommerzielles System, oder eine kleine Business Seite, wir schicken ein Angebot ab innerhalb von 24 Stunden nachdem Sie diese Taste drücken: Angebot anfordern