74 $clone = clone($this);
75 $clone->visiblility_callable = $is_visible;
89 if (is_callable($this->visiblility_callable)) {
106 $clone = clone($this);
107 $clone->active_callable = $is_active;
118 if (is_callable($this->active_callable)) {
121 $value = $callable();
135 $clone = clone($this);
136 $clone->available_callable = $is_available;
150 if (is_callable($this->available_callable)) {
153 $value = $callable();
167 $clone = clone $this;
168 $clone->non_available_reason = $element;
181 return $this->non_available_reason instanceof
Legacy ? $this->non_available_reason :
$DIC->ui()->factory()->legacy(
"");
199 $clone = clone($this);
200 $clone->is_always_available = $always_active;
220 $clone = clone($this);
232 $this->type_information = $information;
An exception for terminatinating execution or to throw for unit testing.
setTypeInformation(TypeInformation $information)
@inheritDoc
getTypeInformation()
@inheritDoc
__construct(IdentificationInterface $provider_identification)
AbstractBaseItem constructor.
withAvailableCallable(callable $is_available)
@inheritDoc
getNonAvailableReason()
@inheritDoc
withNonAvailableReason(Legacy $element)
@inheritDoc
isAlwaysAvailable()
@inheritDoc
withAlwaysAvailable(bool $always_active)
@inheritDoc
withVisibilityCallable(callable $is_visible)
@inheritDoc
withPosition(int $position)
@inheritDoc
getProviderIdentification()
@inheritDoc
withActiveCallable(callable $is_active)
@inheritDoc
Interface IdentificationInterface.