public function normalizeValue($value)
	{
		if (is_string($value) && preg_match('(^#\\w+$)', $value))
		{
			$value = AttributeFilterCollection::getDefaultFilter(substr($value, 1));
		}

		return parent::normalizeValue($value);
	}
public function normalizeValue($value)
	{
		if (is_string($value) && preg_match('(^#\\w+$)', $value))
		{
			$value = AttributeFilterCollection::getDefaultFilter(substr($value, 1));
		}

		return parent::normalizeValue($value);
	}
public function normalizeValue ( $ value ) { if ( is_string ( $ value ) && preg_match ( '(^#\\w+$)' , $ value ) ) { $ value = AttributeFilterCollection :: getDefaultFilter ( substr ( $ value , 1 ) ) ; } return parent :: normalizeValue ( $ value ) ; }
Normalize a value into an AttributeFilter instance

@param  mixed $value Either a valid callback or an instance of AttributeFilter
@return \s9e\TextFormatter\Configurator\Items\AttributeFilter Normalized filter
Normalize a value into an AttributeFilter instance