public function EnableDomain::execute in Domain Access 8
Executes the plugin.
Overrides ExecutableInterface::execute
File
- domain/
src/ Plugin/ Action/ EnableDomain.php, line 24
Class
- EnableDomain
- Sets the domain status property to 1.
Namespace
Drupal\domain\Plugin\ActionCode
public function execute(DomainInterface $domain = NULL) {
$domain
->enable();
}