diff --git a/composer.json b/composer.json index 30a23b48f..9362d8927 100644 --- a/composer.json +++ b/composer.json @@ -116,4 +116,4 @@ }, "minimum-stability": "dev", "prefer-stable": true -} +} \ No newline at end of file diff --git a/packages/core/config/core.php b/packages/core/config/core.php index 0b728914b..d8d8bc60b 100644 --- a/packages/core/config/core.php +++ b/packages/core/config/core.php @@ -2,6 +2,12 @@ return [ - 'use_advanced_tables' => true, + /* + | Set to false to disable advanced tables + | If true, the advanced tables plugin will be + | automatically loaded, if it is installed and enabled + | https://filamentphp.com/plugins/kenneth-sese-advanced-tables + */ + 'use_advanced_tables' => false, ]; diff --git a/packages/core/src/Base/BaseRelationManager.php b/packages/core/src/Base/BaseRelationManager.php new file mode 100644 index 000000000..d0c2714e0 --- /dev/null +++ b/packages/core/src/Base/BaseRelationManager.php @@ -0,0 +1,15 @@ +$method = \Closure::fromCallable([\Archilex\AdvancedTables\AdvancedTables::class, $method])->bindTo($this, self::class); - } - } - } -}