Replies: 3 comments 1 reply
-
In a service provider you can tell the container to use your extensions instead of the plugins. public function register()
{
$this->app->bind(MediaResource::class, fn() => new CustomMediaResource());
} |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
v2.5.10 should get you what you need. You just need to call public function register() |
Beta Was this translation helpful? Give feedback.
-
how to disable default MediaResource (all default media routes) by filament-curator and use the my custom media resource like this :
use Awcodes\Curator\Resources\MediaResource;
class CustomMediaResource extends MediaResource
{
// ... custom methods and properties
}
Beta Was this translation helpful? Give feedback.
All reactions