You are here

Deprecated in Webform 8.5

Primary tabs

Examples: "before Drupal 9", "in Drupal 8.4"
Namesort descending Location Type Deprecation Direct uses Namespaced uses Overrides Use statements
TwigExtension src/Twig/TwigExtension.php class as of Webform 8.x-5.x, will be removed in Webform 8.x-6.x. Instead extend and use WebformTwigExtension.
WebformElementBase::getDefaultBaseProperties src/Plugin/WebformElementBase.php function Scheduled for removal in Webform 8.x-6.x Use \Drupal\webform\Plugin\WebformElementBase::defineDefaultBaseProperties instead.
WebformElementBase::getDefaultMultipleProperties src/Plugin/WebformElementBase.php function Scheduled for removal in Webform 8.x-6.x Use \Drupal\webform\Plugin\WebformElementBase::defineDefaultBaseProperties instead.
WebformHandlerBase::log src/Plugin/WebformHandlerBase.php function Instead call the 'webform_submission' logger channel directly. $message = 'Some message with an %argument.' $context = [ '%argument' => 'Some value' 'link' => $webform_submission->toLink($this->t('Edit'), 'edit-form')->toString(), 'webform_submission' => $webform_submission, 'handler_id' => NULL, 'data' => [], ]; \Drupal::logger('webform_submission')->notice($message, $context);
WebformSubmissionExporter::getArchiveTar src/WebformSubmissionExporter.php function Scheduled for removal in Webform 8.x-6.x
WebformSubmissionForm::getLastSubmission src/WebformSubmissionForm.php function Scheduled for removal in Webform 8.x-6.x Use $this->getStorage()->getLastSubmission instead.
WebformSubmissionStorageInterface::log src/WebformSubmissionStorageInterface.php function Instead call the 'webform_submission' logger channel directly. $message = 'Some message with an %argument.' $context = [ '%argument' => 'Some value' 'link' => $webform_submission->toLink($this->t('Edit'), 'edit-form')->toString(), 'webform_submission' => $webform_submission, 'handler_id' => NULL, 'data' => [], ]; \Drupal::logger('webform_submission')->notice($message, $context); 1
WebformWizardPage::getDefaultSettings src/Plugin/WebformElement/WebformWizardPage.php function Scheduled for removal in Webform 8.x-6.x Use \Drupal\webform\Webform::getSetting instead.
webform_process_states ./webform.module function Scheduled for removal in Webform 8.x-6.x Use \Drupal\Core\Form\FormHelper::processStates instead. 8

Other projects