Merge pull request #192 from creative-commoners/pulls/1/check-elemental

FIX Check that elemental is installed
This commit is contained in:
Guy Sartorelli 2024-06-21 18:00:28 +12:00 committed by GitHub
commit 2ec8573e7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,10 @@ use SilverStripe\Forms\SearchableDropdownField;
use SilverStripe\Forms\SearchableMultiDropdownField; use SilverStripe\Forms\SearchableMultiDropdownField;
use SilverStripe\FrameworkTest\Model\Company; use SilverStripe\FrameworkTest\Model\Company;
if (!class_exists(BaseElement::class)) {
return;
}
class ElementalSearchableFieldsBlock extends BaseElement class ElementalSearchableFieldsBlock extends BaseElement
{ {
private static $table_name = 'ElementalSearchableFieldsBlock'; private static $table_name = 'ElementalSearchableFieldsBlock';