|__construct (array $attributes)|
Given an attributesCollection, filter the collection to only attributes that are acceptable for a global search. This is so the user in the user interface of the module settings, can pick which fields to add or remove from global search.
Definition at line 42 of file ModelAttributeCollectionToGlobalSearchAttributesAdapter.php.
Based on the $attributes, return value/label pairings only for attributes that are acceptable to be picked as a global search attribute.
Definition at line 55 of file ModelAttributeCollectionToGlobalSearchAttributesAdapter.php.