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
Here we see:
function drupal_html_class($class) {
// The output of this function will never change, so this uses a normal
// static instead of drupal_static().
static $classes = array();
//...
}
so can some one make the comment clear?
why say output of this function will never change, does it mean that
other function that use drupal_static have changing output?
can some one give us an example to explain it.
Thank you in advance.
Comments
See the second example here:
See the second example here: https://api.drupal.org/api/drupal/includes!bootstrap.inc/function/drupal...
ok i will see thanks.great j
ok i will see thanks.
great j
but what exatly is it?
https://www.drupal.org/project/image_captcha_indicator
https://www.drupal.org/project/ext_js