diff --git a/src/Show/Fields/SharpShowEntityListField.php b/src/Show/Fields/SharpShowEntityListField.php index e7b18d0c5..94c4f0fef 100644 --- a/src/Show/Fields/SharpShowEntityListField.php +++ b/src/Show/Fields/SharpShowEntityListField.php @@ -4,6 +4,7 @@ use Code16\Sharp\Utils\Entities\SharpEntityManager; use Code16\Sharp\Utils\Filters\Filter; +use Deprecated; class SharpShowEntityListField extends SharpShowField { @@ -115,6 +116,15 @@ public function setLabel(string $label): self return $this; } + /** + * @deprecated Not used anymore, EEL are shown no matter what. + * @return SharpShowField + */ + public function setShowIfEmpty(bool $showIfEmpty = true): SharpShowField + { + return $this; + } + /** * Create the properties array for the field, using parent::buildArray(). */