public function boxes_box::cache_setting

cis7 boxes_box.inc public boxes_box::cache_setting()
cle7 boxes_box.inc public boxes_box::cache_setting()
elmsmedia7 boxes_box.inc public boxes_box::cache_setting()
icor7 boxes_box.inc public boxes_box::cache_setting()
meedjum_blog7 boxes_box.inc public boxes_box::cache_setting()
mooc7 boxes_box.inc public boxes_box::cache_setting()

Returns the block cache settings for this box. Subclasses can override this to perform more intricate operations around deciding the cache settings of the specific box instance.

File

sites/all/modules/ulmus/boxes/plugins/boxes_box.inc, line 141

Class

boxes_box
Abstract base class defining a box. A boxes content plugin provides a form of options for configuring content and renders content for display.

Code

public function cache_setting() {
  return DRUPAL_CACHE_CUSTOM;
}
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.