Commit f2fe78a9 authored by alexpott's avatar alexpott
Browse files

Issue #2659986 by lluvigne: Remove...

Issue #2659986 by lluvigne: Remove \Drupal\views\Plugin\views\HandlerBase::$actualField and \Drupal\views\Plugin\views\HandlerBase::$actualField
parent 66d2d4a2
......@@ -49,13 +49,6 @@ abstract class HandlerBase extends PluginBase implements ViewsHandlerInterface {
*/
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
* on other kind of query plugins/special handlers.
......@@ -71,13 +64,6 @@ abstract class HandlerBase extends PluginBase implements ViewsHandlerInterface {
*/
public $field;
/**
* When a field has been moved this property is set.
*
* @var string
*/
public $actualField;
/**
* The relationship used for this field.
*
......@@ -124,15 +110,6 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
// we have to do a lookup because the type is singular but the
// 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 exist on most handlers, but not all. So they are still optional.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment