You are here

Functions in Composer Manager 6.2

Primary tabs

Namesort descending Location Description Direct uses Strings
composer_manager_build_json ./composer_manager.writer.inc Builds the JSON array ccontaining the combined requirements of each module's composer.json file. 1
composer_manager_compare_stability ./composer_manager.writer.inc Compares the passed minimum stability requirements. 1
composer_manager_drush_command ./composer_manager.drush.inc Implements hook_drush_command().
composer_manager_enable ./composer_manager.install Implements hook_enable().
composer_manager_fetch_data ./composer_manager.writer.inc Fetches the data in each module's composer.json file. 2
composer_manager_file_dir ./composer_manager.writer.inc Returns the realpath to the Composer file directory. 2 8
composer_manager_form_system_modules_alter ./composer_manager.module Implements hook_form_FORM_ID_alter() for system_modules().
composer_manager_init ./composer_manager.module Implements hook_init().
composer_manager_install ./composer_manager.install Implements hook_install().
composer_manager_installed_packages ./composer_manager.admin.inc Reads installed package versions from the composer.lock file. 2
composer_manager_installed_packages_load ./composer_manager.admin.inc Loads the composer.lock file if it exists. 2
composer_manager_lockfile_load ./composer_manager.admin.inc Loads the composer.lock file if it exists.
composer_manager_menu ./composer_manager.module Implements hook_menu().
composer_manager_packages_have_changed ./composer_manager.module Returns TRUE if at least one passed modules has a composer.json file or implements hook_composer_json_alter(). These conditions indicate that the consolidated composer.json file has likely changed. 1
composer_manager_packages_page ./composer_manager.admin.inc Page callback; Shows the status of all packages required by contrib. 1
composer_manager_packages_to_install ./composer_manager.install Returns a list of packages that need to be installed. 1
composer_manager_package_dependents ./composer_manager.admin.inc Returns each installed packages dependents. 1
composer_manager_prepare_directory ./composer_manager.writer.inc Ensures the directory is created and protected via .htaccess if necessary. 3
composer_manager_put_file ./composer_manager.writer.inc Writes the composer.json file in the specified directory. 1
composer_manager_read_composer_file ./composer_manager.admin.inc Parses a JSON file into a PHP array. 2
composer_manager_rebuild_form ./composer_manager.admin.inc Exposes a button that forces a rebuild of the composer.json file. 1
composer_manager_rebuild_form_submit ./composer_manager.admin.inc Form submission handler for composer_manager_rebuild_form(). 1
composer_manager_register_autoloader ./composer_manager.module Registers the autoloader for all third-party packages. 1
composer_manager_relative_autoload_path ./composer_manager.writer.inc Returns the path for the autoloaded directory or class relative to the directory containing the composer.json file. 1
composer_manager_relative_dir ./composer_manager.writer.inc Gets the path of the "to" directory relative to the "from" directory. 2
composer_manager_relative_vendor_dir ./composer_manager.writer.inc Returns the vendor directory relative to the composer file directory. 1
composer_manager_required_packages ./composer_manager.admin.inc Returns the packages, versions, and the modules that require them in the composer.json files contained in contributed modules. 2
composer_manager_requirements ./composer_manager.install Implements hook_requirements().
composer_manager_settings_form ./composer_manager.admin.inc Administrative settings for the Composer Manager module. 1
composer_manager_settings_form_validate ./composer_manager.admin.inc Form validation handler for composer_manager_settings_form(). 1
composer_manager_static ./composer_manager.module 6
composer_manager_system_modules_submit ./composer_manager.module Form submission handler for system_modules(). 1
composer_manager_uninstall ./composer_manager.install Implements hook_uninstall().
composer_manager_vendor_dir ./composer_manager.module Returns the path to the vendor directory. 4 2
composer_manager_write_file ./composer_manager.module Writes the consolidated composer.json file for all modules that require third-party packages managed by Composer. 3
composer_manager_write_if_changed ./composer_manager.module Writes the composer.json file if one of the enabled / disabled modules has a composer.json file. 2 1
drush_composer_manager ./composer_manager.drush.inc Executes a Composer command on Composer Manager's composer.json file. 1
drush_composer_manager_composer_json_rebuild ./composer_manager.drush.inc Rebuilds the consolidated composer.json file.
drush_composer_manager_post_pm_disable ./composer_manager.drush.inc Drush hook; Called after a project is disabled.
drush_composer_manager_post_pm_enable ./composer_manager.drush.inc Drush hook; Called after a project is enabled.
drush_composer_manager_write_if_changed ./composer_manager.drush.inc If one or more extensions being acted on contain a composer.json file, prompt the user to automatically run Composer's update command. 2
hook_composer_dependencies_install ./composer_manager.api.php Allow modules to perform tasks after a composer install has been completed.
hook_composer_json_alter ./composer_manager.api.php Allow modules to alter the consolidated JSON array.

Other projects