Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By shady_gun on
when editing any content type the path that shows is www.example.com/node/5/edit?destination=admin%2Fcontent%2Fnode but how do we know what content type it is editing?? is there any way to find that out??
Comments
You would have to use
You would have to use hook_form_alter to display this. Getting the content type is easy at that point.
http://api.drupal.org/api/function/hook_form_alter