function devel_block_view

cis7 devel.module devel_block_view($delta)
cle7 devel.module devel_block_view($delta)
elmsmedia7 devel.module devel_block_view($delta)
icor7 devel.module devel_block_view($delta)
meedjum_blog7 devel.module devel_block_view($delta)
mooc7 devel.module devel_block_view($delta)

File

sites/all/modules/ulmus/devel/devel.module, line 781

Code

function devel_block_view($delta) {
  $block = array();
  switch ($delta) {
    case 'switch_user':
      $block = devel_block_switch_user();
      break;

    case 'execute_php':
      if (user_access('execute php code')) {
        $block['content'] = drupal_get_form('devel_execute_block_form');
      }
      break;
  }
  return $block;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.