trait ExpressionFormTrait

Provides base methods for expression forms.

Hierarchy

File

src/Form/Expression/ExpressionFormTrait.php, line 10

Namespace

Drupal\rules\Form\Expression
View source
trait ExpressionFormTrait {
    
    /**
     * Implements ExpressionFormInterface::validateForm().
     *
     * Empty default implementation.
     */
    public function validateForm(array $form, FormStateInterface $form_state) {
    }
    
    /**
     * Implements ExpressionFormInterface::submitForm().
     *
     * Empty default implementation.
     */
    public function submitForm(array &$form, FormStateInterface $form_state) {
    }

}

Members

Title Sort descending Modifiers Object type Summary Overrides
ExpressionFormTrait::submitForm public function Implements ExpressionFormInterface::submitForm(). 3
ExpressionFormTrait::validateForm public function Implements ExpressionFormInterface::validateForm().