/** * Returns true if security is enabled - that is if the security token * should be included and checked on this form. * * @deprecated 2.5 Use Form->getSecurityToken()->isEnabled() * * @return bool */ public function securityTokenEnabled() { Deprecation::notice('2.5', 'Use Form->getSecurityToken()->isEnabled() instead.'); return $this->securityToken->isEnabled(); }
/** * Returns true if security is enabled - that is if the security token * should be included and checked on this form. * * @deprecated 2.5 Use Form->getSecurityToken()->isEnabled() * * @return bool */ function securityTokenEnabled() { return $this->securityToken->isEnabled(); }