Issue #2659986 by lluvigne: Remove \Drupal\views\Plugin\views\HandlerBase::$actualField and \Drupal\views\Plugin\views\HandlerBase::$actualField
parent
66d2d4a2ff
commit
f2fe78a9a8
|
@ -49,13 +49,6 @@ abstract class HandlerBase extends PluginBase implements ViewsHandlerInterface {
|
||||||
*/
|
*/
|
||||||
public $tableAlias;
|
public $tableAlias;
|
||||||
|
|
||||||
/**
|
|
||||||
* When a table has been moved this property is set.
|
|
||||||
*
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
public $actualTable;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The actual field in the database table, maybe different
|
* The actual field in the database table, maybe different
|
||||||
* on other kind of query plugins/special handlers.
|
* on other kind of query plugins/special handlers.
|
||||||
|
@ -71,13 +64,6 @@ abstract class HandlerBase extends PluginBase implements ViewsHandlerInterface {
|
||||||
*/
|
*/
|
||||||
public $field;
|
public $field;
|
||||||
|
|
||||||
/**
|
|
||||||
* When a field has been moved this property is set.
|
|
||||||
*
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
public $actualField;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The relationship used for this field.
|
* The relationship used for this field.
|
||||||
*
|
*
|
||||||
|
@ -124,15 +110,6 @@ abstract class HandlerBase extends PluginBase implements ViewsHandlerInterface {
|
||||||
// we have to do a lookup because the type is singular but the
|
// we have to do a lookup because the type is singular but the
|
||||||
// option is stored as the plural.
|
// option is stored as the plural.
|
||||||
|
|
||||||
// If the 'moved to' keyword moved our handler, let's fix that now.
|
|
||||||
if (isset($this->actualTable)) {
|
|
||||||
$options['table'] = $this->actualTable;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isset($this->actualField)) {
|
|
||||||
$options['field'] = $this->actualField;
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->unpackOptions($this->options, $options);
|
$this->unpackOptions($this->options, $options);
|
||||||
|
|
||||||
// This exist on most handlers, but not all. So they are still optional.
|
// This exist on most handlers, but not all. So they are still optional.
|
||||||
|
|
Loading…
Reference in New Issue