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 qqboy on
$hooks = theme_get_registry();
Then we dpm($hooks) and know $hooks is an object,
but failed to get the data via $hooks->storage;
It s not array, either.
So Can some one tell us what kind of structure this data get formed.
Or some thing very speical and different?
Regards.
Comments
If $hooks is an object, and
If $hooks is an object, and $hooks->storage doesn't show you anything, then it either doesn't exist, or is empty.
not empty
not empty
$hooks->storage not available.
$hooks['storage'] not available.
--
Then who can tell us what s happening.
https://www.drupal.org/project/image_captcha_indicator
https://www.drupal.org/project/ext_js
Then it is empty, or doesn't
Then it is empty, or doesn't exist. (Or maybe FALSE)
Why do you think it's not empty? Show us:
* the code that you are using to determine both the fact that you think it's not empty
* the way you are trying to output it that makes you think you cannot access it.
no picture upload allow here.
no picture upload allow here.
https://www.drupal.org/project/image_captcha_indicator
https://www.drupal.org/project/ext_js