public function addMissingItemMessage(ItemInterface $item, MessageCollection $messages) { $messages->add(new Message(t('Referenced page at path %s cannot be found in the site or in the current content batch.', $item->getReference()), Message::E_WARNING)); }
public function addMissingItemMessage(ItemInterface $item, MessageCollection $messages) { $messages->add(new \PortlandLabs\Concrete5\MigrationTool\Batch\Validator\Message(t('Referenced page type %s cannot be found in the site or in the current content batch.', $item->getReference()))); }
public function addMissingItemMessage(ItemInterface $item, MessageCollection $messages) { $messages->add(new Message(t('%s content item %s cannot be found', $item->getDisplayName(), $item->getReference()), Message::E_WARNING)); }