You are here

protected function _forum_CrumbsPlugin__admin::_isContainer in Crumbs, the Breadcrumbs suite 6

Same name and namespace in other branches
  1. 6.2 plugins/crumbs.forum.inc \_forum_CrumbsPlugin__admin::_isContainer()
1 call to _forum_CrumbsPlugin__admin::_isContainer()
_forum_CrumbsPlugin__admin::findParent__admin_content_forum_edit_forum__ in plugins/crumbs.forum.inc

File

plugins/crumbs.forum.inc, line 115

Class

_forum_CrumbsPlugin__admin

Code

protected function _isContainer($tid) {
  if (!isset($this->_containers)) {
    $containers = variable_get('forum_containers', array());
    $this->_containers = array_combine($containers, $containers);
  }
  return isset($this->_containers[$tid]) ? TRUE : FALSE;
}