function entityreference_filter_view_result::dynamic_filter_depends_on in Views Reference Filter 7
File
- views/
entityreference_filter_view_result.inc, line 307 - Definition of entityreference_filter_view_result.
Class
- entityreference_filter_view_result
- The filter to select items from the list generated by another view.
Code
function dynamic_filter_depends_on($filter_name) {
if (isset($this->options['reference_arguments'])) {
$filter_str = '[' . $filter_name . ']';
$args = explode('/', trim($this->options['reference_arguments']));
foreach ($args as $arg) {
return trim($arg) === $filter_str;
}
}
return FALSE;
}