75 $clone = clone($this);
76 $clone->visiblility_callable = $is_visible;
86 if (isset($this->is_visible_static)) {
90 return $this->is_visible_static =
false;
92 if (is_callable($this->visiblility_callable)) {
97 return $this->is_visible_static = $value;
100 return $this->is_visible_static =
true;
108 $clone = clone($this);
109 $clone->available_callable = $is_available;
122 if (is_callable($this->available_callable)) {
136 $clone = clone $this;
137 $clone->non_available_reason = $element;
149 return $this->non_available_reason instanceof
Legacy ? $this->non_available_reason : $DIC->ui()->factory()->legacy(
"");
165 $clone = clone($this);
166 $clone->is_always_available = $always_active;
184 $clone = clone($this);
195 $this->type_information = $information;
210 if ($this instanceof
isChild) {
214 return $this->getParent() === null || $this->getParent() instanceof
NullIdentification;
withPosition(int $position)
withAvailableCallable(callable $is_available)
withNonAvailableReason(Legacy $element)
setTypeInformation(TypeInformation $information)
withAlwaysAvailable(bool $always_active)
Interface IdentificationInterface.
Class NullIdentification.
__construct(IdentificationInterface $provider_identification)
AbstractBaseItem constructor.
trait ComponentDecoratorTrait
withVisibilityCallable(callable $is_visible)
getProviderIdentification()