Drupal variable

スポンサーリンク

When you want to inspect what variables are available, 

put a code below

dpm(get_defined_vars());

dpm(get_defined_vars(), 'custom text'); outputs the custom text right above the output of variables which makes us find the part easier.

コメント

タイトルとURLをコピーしました