Extra SiteInfo
This module provides drush commands and user interface to see the count of nodes, content types, users & roles existing in the site, also information of currently logged-in users.
Usage
Drupal 7
Drush commands
nodetypecount command will return the number of Content Types present in the site, you can use command in following ways.
drush nodetypecount --help
drush nodetypecount
nodecount command will return the number of Nodes present in the site, you can use command in following ways.
drush nodecount --help
drush nodecount
drush nodecount < content-type-names >
drush nodecount page article
rolecount command will return the number of Roles present in the site, you can use command in following ways.
drush rolecount --help
drush rolecount
usercount command will return the number of Users existing in the site, you can use command in following ways.
drush usercount --help
drush usercount
drush usercount < role-ids >
drush usercount 3 4
User Interface
- Navigate to Extra Site Information page
/admin/reports/extra-siteinfofor the user interface representation of data. - To see the data of currently logged-in users in the site, navigate to
/admin/reports/extra-siteinfo/currently-loggedin-users, also you can end the session of any user by clicking "End Session" button.
Drupal 8 onwards
Changes
1. Removed the currently logged-in users feature from the module and this feature is moved to a module.
2. For viewing the usercount, you need to pass the role machine names
drush usercount administrator,authenticated
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 2.0.0-beta2 | Pre-release | Sep 11, 2023 | ||
| 2.0.0-beta1 | Pre-release | Aug 7, 2023 | ||
| 2.0.x-dev | Dev | Aug 2, 2023 |