Install Flmngr module for Drupal 9
Looking for Drupal 8 or Drupal 10 installation?
Flmngr is a module for Drupal which has deep integration into the CMS. It will:
- Add upload, file manager, and image editor buttons onto CKEditor 4 toolbar
- Add upload, file manager, and image editor buttons onto CKEditor 5 toolbar
- Attach file manager to your file and image select fields
CKEditor 4 or CKEditor 5 toolbar can be configured individually on each text format.
You will have all the features of file manager and image editor available for use by one who edits Drupal articles and nodes.
This module has
n1ed Drupal module as a dependency due to Flmngr uses its JS libraries. It will be installed automatically by Composer.
Download file manager module
Use Composer to install the Flmngr module in Drupal 9. Make sure you have Composer installed on your local machine before executing any Composer commands. After that install the Flmngr module using the command line:
composer require drupal/flmngr
Install the module
Open your Drupal control panel and go inside
Extend section. Enable modules after installation.
That's all! File management features are ready to use.
Enabling premium features
If you are premium user you only need to set up a private API key to get access to premium features. Free users do not need to pass this step.
Go to the configuration page selecting
Text formats and editors.
Full HTML text format to configure file manager.
To get premium features you need to specify your own key to configure Flmngr: click
Use premium API key button for that.
In the opened window please specify the API key.
So all these features are ready to use: file management, recursive file search Image Editor, access to free photo stock Unsplash, and others.
Using Flmngr API
If you wish to implement some custom logic with the Flmngr file manager inside a separate Drupal module, just add the Flmngr module as a dependency and then use Flmngr API for calling the file manager.
To retrieve a link to Flmngr API on the content editing page, please refer to CKEditor 4 Flmngr API page if you use CKEditor 4.
If you use CKEditor 5, the link to API can be got by calling the method
There is a sample of API usage on our website: