Download presentation
Presentation is loading. Please wait.
Published byRobert Carter Modified over 6 years ago
1
An Xray Look at Drupal 7 (OK, a look at permission machine names and some hooks.) Get Xray: gitorious.org/xray/xray gitorious.org/xray/xray/archive-tarball/master
2
What Function Brought the Page?
People admin page made possible by user_admin().
3
Where'd That Form Come From?
The first step of your hook_form_alter() or hook_form_FORM_ID_alter() already done for you: What is the form ID? (Which is also the name of the function producing the form.) Talked too much... see previous slide for picture.
4
Summaries on Administration Pages
For instance, number of themes (enabled, disabled, hidden) and regions on admin/appearance
5
Permission Machine Names
Drupal 7's UI shows us translatable, capitalized permission titles. Which is great until we want to make a module that uses a permission.
6
No, not your questions. My questions.
7
What other innards would you like exposed?
8
(Because they're boring to code.)
Are summaries of blocks (enabled, disabled, in which region?), users (blocked, roles), nodes (types, status, by which users) of use/interest? (Because they're boring to code.)
9
Should (parts of this) be part of Devel?
10
Git the Source Code or Download
drupal.org/project/xray gitorious.org/xray/xray git clone git://gitorious.org/xray/xray.git xray gitorious.org/xray/xray/archive-tarball/master
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.