Spaces:
No application file
No application file
Download plugins/GrapesJsBuilderBundle/Integration/Support/BuilderSupport.php from chrisbryan17/mautic: direct link, hf CLI and curl.
- Browser
- Download file 571 Bytes
-
https://huggingface.co/spaces/chrisbryan17/mautic/resolve/main/plugins/GrapesJsBuilderBundle/Integration/Support/BuilderSupport.php
- Command line
-
hf download hf://spaces/chrisbryan17/mautic/plugins/GrapesJsBuilderBundle/Integration/Support/BuilderSupport.php
-
curl -L -o BuilderSupport.php https://huggingface.co/spaces/chrisbryan17/mautic/resolve/main/plugins/GrapesJsBuilderBundle/Integration/Support/BuilderSupport.php
571 Bytes
| declare(strict_types=1); | |
| namespace MauticPlugin\GrapesJsBuilderBundle\Integration\Support; | |
| use Mautic\IntegrationsBundle\Integration\Interfaces\BuilderInterface; | |
| use MauticPlugin\GrapesJsBuilderBundle\Integration\GrapesJsBuilderIntegration; | |
| class BuilderSupport extends GrapesJsBuilderIntegration implements BuilderInterface | |
| { | |
| /** | |
| * @var string[] | |
| */ | |
| private array $featuresSupported = ['email', 'page']; | |
| public function isSupported(string $featureName): bool | |
| { | |
| return in_array($featureName, $this->featuresSupported); | |
| } | |
| } | |