validator

Filter nodes by a taxonomy_content field with view argument accepting terms names and synonyms

  1. /**
  2.  * The following code is used as validator for a view argument to filter nodes having the passed
  3.  * term as value for a taxonomy_content field.

Fix for Setting view title when using a custom validator for a taxonomy_content field

  1. /**
  2.  * The previous code is the export of a view display which add a argument to filter nodes having a the passed term using name and synonyms
  3.  * as value for a taxonomy_content field.

Setting view title when using a custom validator for a taxonomy_content field

  1. $handler->override_option('arguments', array(
  2.   'field_category_value' => array(
  3.     'default_action' => 'not found',
  4.     'style_plugin' => 'default_summary',
  5.     'style_options' => array(),
  6.    
Syndicate content