Neos.Neos/Classes/Controller/Module/Administration/SitesController.php
public function updateDomainAction(Domain $domain)
    {
        $this->domainRepository->update($domain);
        $this->addFlashMessage('The domain "%s" has been updated.', 'Domain updated', Message::SEVERITY_OK, [htmlspecialchars($domain)], 1412373069);
        $this->unsetLastVisitedNodeAndRedirect('edit', null, null, ['site' => $domain->getSite()]);
    }
public function updateDomainAction(Domain $domain)
    {
        $this->domainRepository->update($domain);
        $this->addFlashMessage('The domain "%s" has been updated.', 'Domain updated', Message::SEVERITY_OK, [htmlspecialchars($domain)], 1412373069);
        $this->unsetLastVisitedNodeAndRedirect('edit', null, null, ['site' => $domain->getSite()]);
    }
public function updateDomainAction ( Domain $ domain ) { $ this -> domainRepository -> update ( $ domain ) ; $ this -> addFlashMessage ( 'The domain "%s" has been updated.' , 'Domain updated' , Message :: SEVERITY_OK , [ htmlspecialchars ( $ domain ) ] , 1412373069 ) ; $ this -> unsetLastVisitedNodeAndRedirect ( 'edit' , null , null , [ 'site' => $ domain -> getSite ( ) ] ) ; }
Update a domain

@param Domain $domain Domain to update
@Flow\Validate(argumentName="$domain", type="UniqueEntity")
@return void
Update a domain