protected function _getTags($tags, $role = null) { if (is_null($role)) { return $tags; } return TagUtils::filterTags($tags, $role); }