Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
ed028998
Commit
ed028998
authored
Aug 17, 2012
by
dawehner
Committed by
tim.plunkett
Oct 21, 2012
Browse files
Issue
#1494884
: Use many_to_one for the field_list filter.
parent
46ea350d
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Views/field/Plugin/views/filter/FieldList.php
View file @
ed028998
...
...
@@ -7,7 +7,7 @@
namespace
Views\field\Plugin\views\filter
;
use
Drupal\views\Plugin\views\filter\
InOperator
;
use
Drupal\views\Plugin\views\filter\
ManyToOne
;
use
Drupal\Core\Annotation\Plugin
;
/**
...
...
@@ -20,7 +20,7 @@
* module = "field"
* )
*/
class
FieldList
extends
InOperator
{
class
FieldList
extends
ManyToOne
{
function
get_value_options
()
{
$field
=
field_info_field
(
$this
->
definition
[
'field_name'
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment