withVisibilityCallable(callable $is_visible)
Pass a callable which can decide whether your element is visible for the current user.
setTypeInformation(TypeInformation $information)
withNonAvailableReason(Legacy $element)
If your provider or the service which provides the Item does not allow to activate the item (...
getPosition()
Return the default position for installation, this will be overridden by the configuration later...
withAvailableCallable(callable $is_available)
Pass a callable which can decide whether your element is available in general, e.g.
withAlwaysAvailable(bool $always_active)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...