Warning: Undefined array key "HTTPS" in include() (line 29 of /opt/www/fdv2/drupal.stage/web/sites/default/settings.local.php).
include('/opt/www/fdv2/drupal.stage/web/sites/default/settings.local.php') (Line: 4)
require('/opt/www/fdv2/drupal.stage/web/sites/drupal001.net/settings.php') (Line: 145)
Drupal\Core\Site\Settings::initialize('/opt/www/fdv2/drupal.stage/web', 'sites/drupal001.net', Object) (Line: 1099)
Drupal\Core\DrupalKernel->initializeSettings(Object) (Line: 701)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
views field handler 里面的数据如何打印出来 ? - Drupal大学 - Drupal问答论坛
首页 / 帖子
views field handler 里面的数据如何打印出来 ?

比如有这样的代码

class views_handler_field_example_date extends views_handler_field_date {

    function options_form(&$form, &$form_state) {
        parent::options_form($form, $form_state);
        dpm($form);
        watchdog('module',$form);
        $form['date_format']['#options']['example_custom'] = t('My custom format');
    }
 // -- 
 }

请教 如何把里面的数据打印出来呢 ?非常感谢。

0个答案