Commit Graph

9 Commits

Author SHA1 Message Date
Paul Weidner 1b6b46ab9a Render entity labels using h6 tag 2023-10-06 14:38:06 -04:00
Paul Weidner 6be3e3639c Render metrics in small buttons 2023-10-06 14:38:05 -04:00
Eric Larese 69f12631e2 Remove un-needed phpstan ignores.
See https://github.com/mglaman/phpstan-drupal/issues/474
2023-01-27 14:55:09 -05:00
Michael Stenta 9e829fc374 Use @phpstan-ignore-next-line on getAggregateQuery() lines to fix "Missing explicit access check on entity query" errors.
This is a temporary workaround pending resolution of this upstream issue:

https://github.com/mglaman/phpstan-drupal/issues/474
2022-09-13 10:23:48 -04:00
Michael Stenta fd8cbe902e Use getCollectionLabel() for Assets and Logs labels in metrics block. 2022-01-11 09:07:11 -05:00
Michael Stenta 02e6913cfe Translate "Assets (active)" and "Logs" in dashboard metrics block. 2022-01-11 09:07:11 -05:00
Michael Stenta b0debe0289 Do not include archived assets in metrics count. 2022-01-11 09:07:11 -05:00
paul121 b9f41d7d69 Explicitly enable access checking on content entity queries.
Not calling ::accessCheck() is deprecated in Drupal 9.2. See
https://www.drupal.org/node/3201242
2021-10-01 10:46:16 -04:00
Michael Stenta c327472dc4 Move UI modules into core directory. 2021-09-09 14:27:31 -04:00
Renamed from modules/ui/metrics/src/Plugin/Block/FarmMetricsBlock.php (Browse further)