public class IsDefinitionRule extends AbstractAvailabilityRule
true
if the item has DefinitionProvider
.Constructor and Description |
---|
IsDefinitionRule(info.magnolia.config.registry.RegistryFacade registryFacade) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAvailableForItem(Object itemId)
This method defines the actual evaluation logic for one item.
|
isAvailable
@Inject public IsDefinitionRule(info.magnolia.config.registry.RegistryFacade registryFacade)
protected boolean isAvailableForItem(Object itemId)
AbstractAvailabilityRule
isAvailableForItem
in class AbstractAvailabilityRule
Copyright © 2017 Magnolia International Ltd.. All rights reserved.