You are here

public function ModuleHandlerInterface::addProfile in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/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 core/lib/Drupal/Core/Extension/ModuleHandler.php
Adds an installation profile to the list of currently active modules.

File

core/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\Extension

Code

public function addProfile($name, $path);