public function ModuleHandlerInterface::addProfile in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Core/Extension/ModuleHandlerInterface.php \Drupal\Core\Extension\ModuleHandlerInterface::addProfile()
Adds an installation profile to the list of currently active modules.
Parameters
string $name: The profile name; e.g., 'standard'.
string $path: The profile path; e.g., 'core/profiles/standard'.
1 method overrides ModuleHandlerInterface::addProfile()
- ModuleHandler::addProfile in src/
Extension/ ModuleHandler.php - Adds an installation profile to the list of currently active modules.
File
- lib/
Drupal/ Core/ Extension/ ModuleHandlerInterface.php, line 101 - Contains \Drupal\Core\Extension\ModuleHandlerInterface.
Class
- ModuleHandlerInterface
- Interface for classes that manage a set of enabled modules.
Namespace
Drupal\Core\ExtensionCode
public function addProfile($name, $path);