Issue #3033986 by TR, rishabhthakur, dww, Lendude, jungle: Remove useless 'limit' property override in multiple classes extending EntityListBuilder

merge-requests/2419/head
catch 2020-04-24 14:04:03 +01:00
parent 73427bdf5c
commit 3bcb729743
3 changed files with 2 additions and 15 deletions

View File

@ -34,11 +34,6 @@ abstract class DraggableListBuilder extends ConfigEntityListBuilder implements F
*/ */
protected $weightKey = FALSE; protected $weightKey = FALSE;
/**
* {@inheritdoc}
*/
protected $limit = FALSE;
/** /**
* The form builder. * The form builder.
* *
@ -56,6 +51,7 @@ abstract class DraggableListBuilder extends ConfigEntityListBuilder implements F
if ($this->entityType->hasKey('weight')) { if ($this->entityType->hasKey('weight')) {
$this->weightKey = $this->entityType->getKey('weight'); $this->weightKey = $this->entityType->getKey('weight');
} }
$this->limit = FALSE;
} }
/** /**

View File

@ -52,11 +52,6 @@ class BlockListBuilder extends ConfigEntityListBuilder implements FormInterface
*/ */
protected $formBuilder; protected $formBuilder;
/**
* {@inheritdoc}
*/
protected $limit = FALSE;
/** /**
* The messenger. * The messenger.
* *
@ -82,6 +77,7 @@ class BlockListBuilder extends ConfigEntityListBuilder implements FormInterface
$this->themeManager = $theme_manager; $this->themeManager = $theme_manager;
$this->formBuilder = $form_builder; $this->formBuilder = $form_builder;
$this->messenger = $messenger; $this->messenger = $messenger;
$this->limit = FALSE;
} }
/** /**

View File

@ -26,11 +26,6 @@ class ViewListBuilder extends ConfigEntityListBuilder {
*/ */
protected $displayManager; protected $displayManager;
/**
* {@inheritdoc}
*/
protected $limit;
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */