You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
one solution could be, that you register an EventListener to the mask-save Event and exec the cli cmd in it:
<?php
namespace MyVendor\MyExtension\Eventlistener;
use MASK\Mask\Event\MaskAfterElementSavedEvent;
use Symfony\Component\Process\Process;
use TYPO3\CMS\Core\Core\Environment;
class MaskAfterElementSavedEventListener
{
public function __invoke(MaskAfterElementSavedEvent $event): void
{
$process = new Process(['vendor/bin/typo3', 'myextension:generatemaskts']);
$process->setWorkingDirectory(Environment::getProjectPath());
$process->run();
}
}
any chance to get the extension to write out the new typoscript upon saving of a contentelement in the Mask Backend Editor ?
The text was updated successfully, but these errors were encountered: