public static scheduleForSanityCheck ( Pimcore\Model\Element\ElementInterface $element ) : void | ||
$element | Pimcore\Model\Element\ElementInterface | |
return | void |
public static function scheduleForSanityCheck($element)
{
$type = self::getElementType($element);
$sanityCheck = new Sanitycheck($element->getId(), $type);
$sanityCheck->save();
}