You are here

protected function RemotePostWebformHandler::isResultsEnabled in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformHandler/RemotePostWebformHandler.php \Drupal\webform\Plugin\WebformHandler\RemotePostWebformHandler::isResultsEnabled()

Determine if saving of results is enabled.

Return value

bool TRUE if saving of results is enabled.

4 calls to RemotePostWebformHandler::isResultsEnabled()
RemotePostWebformHandler::buildConfigurationForm in src/Plugin/WebformHandler/RemotePostWebformHandler.php
Form constructor.
RemotePostWebformHandler::getSummary in src/Plugin/WebformHandler/RemotePostWebformHandler.php
Returns a render array summarizing the configuration of the webform handler.
RemotePostWebformHandler::isDraftEnabled in src/Plugin/WebformHandler/RemotePostWebformHandler.php
Determine if saving of draft is enabled.
RemotePostWebformHandler::remotePost in src/Plugin/WebformHandler/RemotePostWebformHandler.php
Execute a remote post.

File

src/Plugin/WebformHandler/RemotePostWebformHandler.php, line 834

Class

RemotePostWebformHandler
Webform submission remote post handler.

Namespace

Drupal\webform\Plugin\WebformHandler

Code

protected function isResultsEnabled() {
  return $this
    ->getWebform()
    ->getSetting('results_disabled') === FALSE;
}