mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
FIX Check that elemental is installed
This commit is contained in:
parent
3bbd075584
commit
b63af3c79e
@ -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';
|
||||||
|
Loading…
Reference in New Issue
Block a user