Elgg\HooksRegistrationService::clearHandlers PHP Method

clearHandlers() public method

Clears all handlers for a specific hook
public clearHandlers ( string $name, string $type ) : void
$name string
$type string
return void
    public function clearHandlers($name, $type)
    {
        unset($this->registrations[$name][$type]);
    }