The internal link checker needs to iterate through all internal link objects and test if the reference is broken.
For the objects in the relation catalogue there is a function already isBroken.
For the other in the portal-preference-catalogue we have to check by ourselves if the reference is true.
The entry catalogue can be accessed with:
from zc.relation.interfaces import ICatalog
from zope.component import getUtility
relation_catalog = getUtility(ICatalog)
tuple(relation_catalog)
The internal link checker needs to iterate through all internal link objects and test if the reference is broken.
For the objects in the relation catalogue there is a function already
isBroken
.For the other in the
portal-preference-catalogue
we have to check by ourselves if the reference is true.The entry catalogue can be accessed with:
More info related on this link