torqnorth/pimcore-object-deleter-bundle

There is no license information available for the latest version (v2.1.0) of this package.

Maintainers

Package info

github.com/Torq-North/pimcore-object-deleter-bundle

Type:pimcore-bundle

pkg:composer/torqnorth/pimcore-object-deleter-bundle

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

v2.1.0 2026-03-09 17:01 UTC

This package is not auto-updated.

Last update: 2026-03-09 22:28:01 UTC


README

Delete objects in bulk by class name and root directory

Installing the package via composer

This bundle is easily installed via composer: composer require torqnorth/pimcore-object-deleter-bundle

Steps to setting up the object deleter:

  1. Make sure you register the ObjectDeleterBundle in your AppKernel.php located at \src\pimcore-root\app\AppKernel.php. Registering the bundle is as easy as adding a line in the registerBundlesToCollection function, like so: $collection->addBundle(new \TorqNorth\ObjectDeleterBundle\ObjectDeleterBundle);
  2. Install the bundle, which will add the necessary procedure to your database. Run: bin/console pimcore:bundle:install ObjectDeleterBundle.
  3. Run the bundle, with the command: ./bin/console torqnorth:object-deleter CLASSNAME_TO_DELETE:REQUIRED FOLDER_TO_DELETE_FROM:OPTIONAL.

CLASSNAME_TO_DELETE:REQUIRED => This is the class you are wishing to delete FOLDER_TO_DELETE_FROM:OPTIONAL => This is the directory in the pimcore admin you would like to delete from. Default is root (/)

An example of this command would be: ./bin/console torqnorth:object-deleter Product /MyProducts

Migration changes or new version

If the migration changes you will have to run an uninstall / reinstall the bundle so the procedure in the database update. Uninstall => bin/console pimcore:bundle:uninstall ObjectDeleterBundle Reinstall => bin/console pimcore:bundle:install ObjectDeleterBundle