You are here

public function Nodejs::removeChannel in Node.js integration 8

File

src/Nodejs.php, line 178

Class

Nodejs

Namespace

Drupal\nodejs

Code

public function removeChannel($channel) {
  $options = [
    'method' => 'POST',
  ];
  return $this
    ->httpRequest("nodejs/channel/remove/{$channel}", $options);
}