class WebformRevisions in Config Entity Revisions 8
Same name and namespace in other branches
- 1.x modules/webform_revisions/src/Entity/WebformRevisions.php \Drupal\webform_revisions\Entity\WebformRevisions
 
Hierarchy
- class \Drupal\Core\Entity\EntityBase implements EntityInterface uses RefinableCacheableDependencyTrait, DependencySerializationTrait
- class \Drupal\Core\Config\Entity\ConfigEntityBase implements ConfigEntityInterface uses SynchronizableEntityTrait, PluginDependencyTrait
- class \Drupal\Core\Config\Entity\ConfigEntityBundleBase
- class \Drupal\webform\Entity\Webform implements WebformInterface uses StringTranslationTrait
- class \Drupal\webform_revisions\Entity\WebformRevisions implements ConfigEntityRevisionsInterface uses WebformRevisionsConfigTrait
 
 
 - class \Drupal\webform\Entity\Webform implements WebformInterface uses StringTranslationTrait
 
 - class \Drupal\Core\Config\Entity\ConfigEntityBundleBase
 
 - class \Drupal\Core\Config\Entity\ConfigEntityBase implements ConfigEntityInterface uses SynchronizableEntityTrait, PluginDependencyTrait
 
Expanded class hierarchy of WebformRevisions
1 file declares its use of WebformRevisions
- webform_revisions.module in modules/
webform_revisions/ webform_revisions.module  
1 string reference to 'WebformRevisions'
- webform_revisions_form_alter in modules/
webform_revisions/ webform_revisions.module  - Implements hook_form_alter().
 
File
- modules/
webform_revisions/ src/ Entity/ WebformRevisions.php, line 11  
Namespace
Drupal\webform_revisions\EntityView source
class WebformRevisions extends Webform implements ConfigEntityRevisionsInterface {
  use WebformRevisionsConfigTrait, ConfigEntityRevisionsConfigTrait;
  /**
   * @var EntityTypeManager
   */
  private $entityTypeManager;
  /**
   * Constructs an Entity object.
   *
   * @param array $values
   *   An array of values to set, keyed by property name. If the entity type
   *   has bundles, the bundle key has to be specified.
   * @param string $entity_type
   *   The type of the entity to create.
   */
  public function __construct(array $values, $entity_type) {
    parent::__construct($values, $entity_type);
    $this->entityTypeManager = \Drupal::service('entity_type.manager');
  }
  /**
   * Set in the configEntity an identifier for the matching content entity.
   *
   * @param mixed $contentEntityID
   *   The ID used to match the content entity.
   */
  public function setContentEntityID($contentEntityID) {
    $this
      ->setThirdPartySetting('webform_revisions', 'contentEntity_id', $contentEntityID);
  }
  /**
   * Get from the configEntity the ID of the matching content entity.
   *
   * @return int|null
   *   The ID (if any) of the matching content entity.
   */
  public function getContentEntityID() {
    $id = $this
      ->getThirdPartySetting('webform_revisions', 'contentEntity_id');
    // Issue 3051713 - validate that the record exists.
    if ($id) {
      $record = $this->entityTypeManager
        ->getStorage('config_entity_revisions')
        ->load($id);
      if (!$record) {
        $id = NULL;
      }
    }
    return $id;
  }
  /**
   * {@inheritdoc}
   */
  public function deleteElement($key) {
    // Delete element from the elements render array.
    $elements = $this
      ->getElementsDecoded();
    $sub_element_keys = $this
      ->deleteElementRecursive($elements, $key);
    $this
      ->setElements($elements);
    // Don't delete submission data so that it can still be viewed for previous
    // revisions.
  }
  /**
   * {@inheritdoc}
   */
  public function getSubmissionForm(array $values = [], $operation = 'add') {
    // If invoked by WebformEntityController->addForm, ensure the webform revision
    // used is influenced by the path.
    if (empty($values) && $operation == 'add') {
      $values['webform'] = $this;
    }
    return parent::getSubmissionForm($values, $operation);
  }
}Members
| 
            Name | 
                  Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| 
            CacheableDependencyTrait:: | 
                  protected | property | Cache contexts. | |
| 
            CacheableDependencyTrait:: | 
                  protected | property | Cache max-age. | |
| 
            CacheableDependencyTrait:: | 
                  protected | property | Cache tags. | |
| 
            CacheableDependencyTrait:: | 
                  protected | function | Sets cacheability; useful for value object constructors. | |
| 
            ConfigEntityBase:: | 
                  private | property | Whether the config is being deleted by the uninstall process. | |
| 
            ConfigEntityBase:: | 
                  protected | property | The language code of the entity's default language. | |
| 
            ConfigEntityBase:: | 
                  protected | property | The original ID of the configuration entity. | |
| 
            ConfigEntityBase:: | 
                  protected | property | Third party entity settings. | |
| 
            ConfigEntityBase:: | 
                  protected | property | Trust supplied data and not use configuration schema on save. | |
| 
            ConfigEntityBase:: | 
                  protected | property | Information maintained by Drupal core about configuration. | |
| 
            ConfigEntityBase:: | 
                  protected | function | Overrides \Drupal\Core\Entity\DependencyTrait:addDependency(). | |
| 
            ConfigEntityBase:: | 
                  public | function | 
            Calculates dependencies and stores them in the dependency property. Overrides ConfigEntityInterface:: | 
                  13 | 
| 
            ConfigEntityBase:: | 
                  public | function | 
            Disables the configuration entity. Overrides ConfigEntityInterface:: | 
                  1 | 
| 
            ConfigEntityBase:: | 
                  public | function | 
            Enables the configuration entity. Overrides ConfigEntityInterface:: | 
                  |
| 
            ConfigEntityBase:: | 
                  public | function | 
            Returns the value of a property. Overrides ConfigEntityInterface:: | 
                  |
| 
            ConfigEntityBase:: | 
                  public | function | 
            Returns the cache tags that should be used to invalidate caches. Overrides EntityBase:: | 
                  1 | 
| 
            ConfigEntityBase:: | 
                  public | function | 
            Gets the configuration dependency name. Overrides EntityBase:: | 
                  |
| 
            ConfigEntityBase:: | 
                  protected static | function | Gets the configuration manager. | |
| 
            ConfigEntityBase:: | 
                  public | function | 
            Gets the configuration target identifier for the entity. Overrides EntityBase:: | 
                  |
| 
            ConfigEntityBase:: | 
                  public | function | 
            Gets the configuration dependencies. Overrides ConfigEntityInterface:: | 
                  |
| 
            ConfigEntityBase:: | 
                  public | function | 
            Gets the original ID. Overrides EntityBase:: | 
                  |
| 
            ConfigEntityBase:: | 
                  public | function | 
            Gets the list of third parties that store information. Overrides ThirdPartySettingsInterface:: | 
                  |
| 
            ConfigEntityBase:: | 
                  public | function | 
            Gets the value of a third-party setting. Overrides ThirdPartySettingsInterface:: | 
                  |
| 
            ConfigEntityBase:: | 
                  public | function | 
            Gets all third-party settings of a given module. Overrides ThirdPartySettingsInterface:: | 
                  |
| 
            ConfigEntityBase:: | 
                  protected | function | Gets the typed config manager. | |
| 
            ConfigEntityBase:: | 
                  public | function | 
            Gets whether on not the data is trusted. Overrides ConfigEntityInterface:: | 
                  |
| 
            ConfigEntityBase:: | 
                  protected static | function | 
            Override to never invalidate the individual entities' cache tags; the
config system already invalidates them. Overrides EntityBase:: | 
                  |
| 
            ConfigEntityBase:: | 
                  protected | function | 
            Override to never invalidate the entity's cache tag; the config system
already invalidates it. Overrides EntityBase:: | 
                  |
| 
            ConfigEntityBase:: | 
                  public | function | 
            Checks whether this entity is installable. Overrides ConfigEntityInterface:: | 
                  2 | 
| 
            ConfigEntityBase:: | 
                  public | function | 
            Overrides Entity::isNew(). Overrides EntityBase:: | 
                  |
| 
            ConfigEntityBase:: | 
                  public | function | 
            Returns whether this entity is being changed during the uninstall process. Overrides ConfigEntityInterface:: | 
                  |
| 
            ConfigEntityBase:: | 
                  public | function | 
            Saves an entity permanently. Overrides EntityBase:: | 
                  1 | 
| 
            ConfigEntityBase:: | 
                  public | function | 
            Sets the value of a property. Overrides ConfigEntityInterface:: | 
                  |
| 
            ConfigEntityBase:: | 
                  public | function | 
            Sets the original ID. Overrides EntityBase:: | 
                  |
| 
            ConfigEntityBase:: | 
                  public | function | 
            Sets the value of a third-party setting. Overrides ThirdPartySettingsInterface:: | 
                  |
| 
            ConfigEntityBase:: | 
                  public | function | ||
| 
            ConfigEntityBase:: | 
                  public | function | 
            Gets an array of all property values. Overrides EntityBase:: | 
                  2 | 
| 
            ConfigEntityBase:: | 
                  public | function | 
            Sets that the data should be trusted. Overrides ConfigEntityInterface:: | 
                  |
| 
            ConfigEntityBase:: | 
                  public | function | 
            Unsets a third-party setting. Overrides ThirdPartySettingsInterface:: | 
                  |
| 
            ConfigEntityBase:: | 
                  public | function | 
            Overrides EntityBase:: | 
                  4 | 
| 
            ConfigEntityBundleBase:: | 
                  protected | function | Deletes display if a bundle is deleted. | |
| 
            ConfigEntityBundleBase:: | 
                  protected | function | Returns view or form displays for this bundle. | |
| 
            ConfigEntityBundleBase:: | 
                  public static | function | 
            Acts on deleted entities before the delete hook is invoked. Overrides EntityBase:: | 
                  2 | 
| 
            ConfigEntityRevisionsInterface:: | 
                  public | function | Get the config entity storage. | |
| 
            ConfigEntityRevisionsInterface:: | 
                  public | function | Get the revisions entity storage. | |
| 
            ConfigEntityRevisionsInterface:: | 
                  public | function | Default revision of revisions entity that matches the config entity. | |
| 
            ConfigEntityRevisionsInterface:: | 
                  public | function | Gets the revision identifier of the entity. | |
| 
            ConfigEntityRevisionsInterface:: | 
                  public | function | Set revision ID. | |
| 
            ConfigEntityRevisionsStorageTrait:: | 
                  public | function | ||
| 
            ConfigEntityRevisionsStorageTrait:: | 
                  public | function | ||
| 
            ConfigEntityRevisionsStorageTrait:: | 
                  public | function | ||
| 
            ConfigEntityRevisionsStorageTrait:: | 
                  public | function | ||
| 
            ConfigEntityRevisionsStorageTrait:: | 
                  public | function | ||
| 
            ConfigEntityRevisionsStorageTrait:: | 
                  public | function | ||
| 
            ConfigEntityRevisionsStorageTrait:: | 
                  public | function | ||
| 
            ConfigEntityRevisionsStorageTrait:: | 
                  public | function | ||
| 
            ConfigEntityRevisionsStorageTrait:: | 
                  public | function | ||
| 
            ConfigEntityRevisionsStorageTrait:: | 
                  public | function | ||
| 
            ConfigEntityRevisionsStorageTrait:: | 
                  public | function | ||
| 
            DependencySerializationTrait:: | 
                  protected | property | An array of entity type IDs keyed by the property name of their storages. | |
| 
            DependencySerializationTrait:: | 
                  protected | property | An array of service IDs keyed by property name used for serialization. | |
| 
            DependencySerializationTrait:: | 
                  public | function | Aliased as: traitSleep | 1 | 
| 
            DependencySerializationTrait:: | 
                  public | function | 2 | |
| 
            DependencyTrait:: | 
                  protected | property | The object's dependencies. | |
| 
            DependencyTrait:: | 
                  protected | function | Adds multiple dependencies. | |
| 
            DependencyTrait:: | 
                  protected | function | Adds a dependency. Aliased as: addDependencyTrait | |
| 
            EntityBase:: | 
                  protected | property | Boolean indicating whether the entity should be forced to be new. | |
| 
            EntityBase:: | 
                  protected | property | The entity type. | |
| 
            EntityBase:: | 
                  protected | property | A typed data object wrapping this entity. | |
| 
            EntityBase:: | 
                  public | function | 
            Checks data value access. Overrides AccessibleInterface:: | 
                  1 | 
| 
            EntityBase:: | 
                  public | function | 
            Gets the bundle of the entity. Overrides EntityInterface:: | 
                  1 | 
| 
            EntityBase:: | 
                  public static | function | 
            Constructs a new entity object, without permanently saving it. Overrides EntityInterface:: | 
                  |
| 
            EntityBase:: | 
                  public | function | 
            Deletes an entity permanently. Overrides EntityInterface:: | 
                  2 | 
| 
            EntityBase:: | 
                  public | function | 
            Enforces an entity to be new. Overrides EntityInterface:: | 
                  |
| 
            EntityBase:: | 
                  protected | function | Gets the entity manager. | |
| 
            EntityBase:: | 
                  protected | function | Gets the entity type bundle info service. | |
| 
            EntityBase:: | 
                  protected | function | Gets the entity type manager. | |
| 
            EntityBase:: | 
                  public | function | 
            Gets the key that is used to store configuration dependencies. Overrides EntityInterface:: | 
                  |
| 
            EntityBase:: | 
                  public | function | 
            Gets the entity type definition. Overrides EntityInterface:: | 
                  |
| 
            EntityBase:: | 
                  public | function | 
            Gets the ID of the type of the entity. Overrides EntityInterface:: | 
                  |
| 
            EntityBase:: | 
                  protected | function | The list cache tags to invalidate for this entity. | |
| 
            EntityBase:: | 
                  public | function | 
            Gets a typed data object for this entity object. Overrides EntityInterface:: | 
                  |
| 
            EntityBase:: | 
                  public | function | 
            Indicates if a link template exists for a given key. Overrides EntityInterface:: | 
                  |
| 
            EntityBase:: | 
                  public | function | 
            Gets the identifier. Overrides EntityInterface:: | 
                  11 | 
| 
            EntityBase:: | 
                  public | function | 
            Gets the label of the entity. Overrides EntityInterface:: | 
                  6 | 
| 
            EntityBase:: | 
                  public | function | 
            Gets the language of the entity. Overrides EntityInterface:: | 
                  1 | 
| 
            EntityBase:: | 
                  protected | function | Gets the language manager. | |
| 
            EntityBase:: | 
                  protected | function | Gets an array link templates. | 1 | 
| 
            EntityBase:: | 
                  public static | function | 
            Loads an entity. Overrides EntityInterface:: | 
                  |
| 
            EntityBase:: | 
                  public static | function | 
            Loads one or more entities. Overrides EntityInterface:: | 
                  |
| 
            EntityBase:: | 
                  public | function | 
            Acts on a created entity before hooks are invoked. Overrides EntityInterface:: | 
                  4 | 
| 
            EntityBase:: | 
                  public | function | 
            Gets a list of entities referenced by this entity. Overrides EntityInterface:: | 
                  1 | 
| 
            EntityBase:: | 
                  public | function | 
            Gets a list of URI relationships supported by this entity. Overrides EntityInterface:: | 
                  |
| 
            EntityBase:: | 
                  protected | function | Gets an array of placeholders for this entity. | 2 | 
| 
            EntityBase:: | 
                  public | function | 
            Gets the entity UUID (Universally Unique Identifier). Overrides EntityInterface:: | 
                  1 | 
| 
            EntityBase:: | 
                  protected | function | Gets the UUID generator. | |
| 
            PluginDependencyTrait:: | 
                  protected | function | Calculates and adds dependencies of a specific plugin instance. | 1 | 
| 
            PluginDependencyTrait:: | 
                  protected | function | Calculates and returns dependencies of a specific plugin instance. | |
| 
            PluginDependencyTrait:: | 
                  protected | function | Wraps the module handler. | 1 | 
| 
            PluginDependencyTrait:: | 
                  protected | function | Wraps the theme handler. | 1 | 
| 
            RefinableCacheableDependencyTrait:: | 
                  public | function | 1 | |
| 
            RefinableCacheableDependencyTrait:: | 
                  public | function | ||
| 
            RefinableCacheableDependencyTrait:: | 
                  public | function | ||
| 
            RefinableCacheableDependencyTrait:: | 
                  public | function | ||
| 
            StringTranslationTrait:: | 
                  protected | property | The string translation service. | 1 | 
| 
            StringTranslationTrait:: | 
                  protected | function | Formats a string containing a count of items. | |
| 
            StringTranslationTrait:: | 
                  protected | function | Returns the number of plurals supported by a given language. | |
| 
            StringTranslationTrait:: | 
                  protected | function | Gets the string translation service. | |
| 
            StringTranslationTrait:: | 
                  public | function | Sets the string translation service to use. | 2 | 
| 
            StringTranslationTrait:: | 
                  protected | function | Translates a string to the current language or to a given language. | |
| 
            SynchronizableEntityTrait:: | 
                  protected | property | Whether this entity is being created, updated or deleted through a synchronization process. | |
| 
            SynchronizableEntityTrait:: | 
                  public | function | ||
| 
            SynchronizableEntityTrait:: | 
                  public | function | ||
| 
            Webform:: | 
                  protected | property | The webform access controls. | |
| 
            Webform:: | 
                  protected | property | The webform archive indicator. | |
| 
            Webform:: | 
                  protected | property | The webform options category. | |
| 
            Webform:: | 
                  protected | property | The webform close date/time. | |
| 
            Webform:: | 
                  protected | property | The CSS style sheet. | |
| 
            Webform:: | 
                  protected | property | The webform description. | |
| 
            Webform:: | 
                  protected | property | The webform elements. | |
| 
            Webform:: | 
                  protected | property | Track the elements that are 'webform_actions' (aka submit buttons). | |
| 
            Webform:: | 
                  protected | property | Track attachment elements. | |
| 
            Webform:: | 
                  protected | property | Track computed elements. | |
| 
            Webform:: | 
                  protected | property | Track elements CSS. | |
| 
            Webform:: | 
                  protected | property | The webform elements decoded. | |
| 
            Webform:: | 
                  protected | property | The webform elements decoded and flattened. | |
| 
            Webform:: | 
                  protected | property | A webform's default data extracted from each element's default value or value. | |
| 
            Webform:: | 
                  protected | property | The webform elements initializes (and decoded). | |
| 
            Webform:: | 
                  protected | property | The webform elements initialized and flattened. | |
| 
            Webform:: | 
                  protected | property | The webform elements initialized, flattened, and has value. | |
| 
            Webform:: | 
                  protected | property | Track elements JavaScript. | |
| 
            Webform:: | 
                  protected | property | Track managed file elements. | |
| 
            Webform:: | 
                  protected | property | The webform elements original. | |
| 
            Webform:: | 
                  protected | property | Track the elements that are prepopulated. | |
| 
            Webform:: | 
                  protected | property | The webform translated elements state. | |
| 
            Webform:: | 
                  protected | property | The webform elements translations. | |
| 
            Webform:: | 
                  protected | property | Track variant elements. | |
| 
            Webform:: | 
                  protected | property | Track the elements that are 'webform_pages' (aka Wizard pages). | |
| 
            Webform:: | 
                  protected | property | The array of webform handlers for this webform. | |
| 
            Webform:: | 
                  protected | property | Holds the collection of webform handlers that are used by this webform. | |
| 
            Webform:: | 
                  protected | property | Track if a webform handler requires anonymous submission tracking . | |
| 
            Webform:: | 
                  protected | property | Track if the webform has conditions (i.e. #states). | |
| 
            Webform:: | 
                  protected | property | Track if the webform has container. | |
| 
            Webform:: | 
                  protected | property | Track if the webform is using a flexbox layout. | |
| 
            Webform:: | 
                  protected | property | Track if the webform has message handler. | |
| 
            Webform:: | 
                  protected | property | Track if the webform has required elements. | |
| 
            Webform:: | 
                  protected | property | Track if the webform has translations. | |
| 
            Webform:: | 
                  protected | property | The webform ID. | |
| 
            Webform:: | 
                  protected | property | The JavaScript. | |
| 
            Webform:: | 
                  protected | property | The webform open date/time. | |
| 
            Webform:: | 
                  protected | property | The webform's current operation. | |
| 
            Webform:: | 
                  protected | property | The webform override state. | |
| 
            Webform:: | 
                  protected | property | The webform pages. | |
| 
            Webform:: | 
                  protected | property | The webform settings. | |
| 
            Webform:: | 
                  protected | property | The webform settings original. | |
| 
            Webform:: | 
                  protected | property | 
            The webform status. Overrides ConfigEntityBase:: | 
                  |
| 
            Webform:: | 
                  protected | property | The webform template indicator. | |
| 
            Webform:: | 
                  protected | property | The webform title. | |
| 
            Webform:: | 
                  protected | property | The owner's uid. | |
| 
            Webform:: | 
                  protected | property | The webform elements are being updated. | |
| 
            Webform:: | 
                  protected | property | 
            The webform UUID. Overrides ConfigEntityBase:: | 
                  |
| 
            Webform:: | 
                  protected | property | The array of webform variants for this webform. | |
| 
            Webform:: | 
                  protected | property | Holds the collection of webform variants that are used by this webform. | |
| 
            Webform:: | 
                  protected | property | The webform weight. | |
| 
            Webform:: | 
                  public | function | 
            Saves a webform handler for this webform. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Saves a webform variant for this webform. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | Apply webform variant. | |
| 
            Webform:: | 
                  public | function | 
            Apply webform variants based on a webform submission or parameter. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  protected | function | Build and cache a webform's wizard pages based on the current operation. | |
| 
            Webform:: | 
                  protected | function | Check operation access for each element. | |
| 
            Webform:: | 
                  protected | function | Collect sub element keys from a render array. | |
| 
            Webform:: | 
                  public | function | 
            Creates a duplicate of the entity. Overrides ConfigEntityBase:: | 
                  |
| 
            Webform:: | 
                  protected | function | Remove an element by key from a render array. | |
| 
            Webform:: | 
                  public | function | 
            Update submit and confirm paths associated with this webform. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Deletes an item from the webform's state. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Deletes an item from the webform's user data. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Deletes a webform handler from this webform. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Deletes a webform variant from this webform. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the webform access rules. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the webform's global and custom CSS and JavaScript assets. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            The cache contexts associated with this object. Overrides EntityBase:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            The maximum age for which this object may be cached. Overrides EntityBase:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            The cache tags associated with this object. Overrides EntityBase:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the webform's CSS. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public static | function | 
            Returns the webform default settings. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the webform's description. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get a webform's initialized element. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get a webform's raw (uninitialized) element. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | ||
| 
            Webform:: | 
                  public | function | 
            Get webform attachment elements. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get webform computed elements. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get webform elements decoded as an associative array. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get webform raw elements decoded and flattened into an associative array. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get webform elements default data. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get webform elements initialized as an associative array. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get webform elements initialized and flattened into an associative array. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get webform flattened list of elements. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get webform managed file elements. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get original elements decoded as an associative array. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get original elements (YAML) value. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get webform elements that can be prepopulated. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get elements (YAML) value. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get webform element's selectors as options. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get webform element options as autocomplete source values. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get webform variant elements. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns a specific webform handler. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the webform handlers for this webform. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | Define empty array iterator. | |
| 
            Webform:: | 
                  public | function | 
            Returns the webform's JavaScript. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the webform's (original) langcode. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get the number of actions (aka submit buttons). Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get the number of wizard pages. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the webform's current operation. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the entity owner's user entity. Overrides EntityOwnerInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the entity owner's user ID. Overrides EntityOwnerInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get webform wizard page. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get webform wizard pages. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Gets the plugin collections used by this object. Overrides ObjectWithPluginCollectionInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the webform settings for a given key. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the webform settings. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the stored value for a given key in the webform's state. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the stored value for a given key in the webform's user data. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns a specific webform variant. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the webform variants for this webform. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Get variants data from a webform submission. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  protected | function | Returns the webform handler plugin manager. | |
| 
            Webform:: | 
                  protected | function | Returns the webform variant plugin manager. | |
| 
            Webform:: | 
                  public | function | 
            Returns the webform's weight. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if the webform has any custom actions (aka submit buttons). Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if a webform handler requires anonymous submission tracking. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if the webform's elements include attachments. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if the webform's elements include computed values. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if the webform has conditional logic (i.e. #states). Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if the webform has any containers. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if the webform is using a Flexbox layout. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if the webform's elements include a managed_file upload element. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if the webform has any message handlers. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if the webform has page or is attached to other entities. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if the webform has preview page. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if remote IP address is being stored. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if the webform has required elements. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if the stored value for a given key exists in the webform's state. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if submissions are being logged. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Checks if a webform has submissions. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if the current webform is translated. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if the stored value for a given key exists in the webform's user data. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if a specific webform variant exists. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if the webform's elements include variants. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if the webform has multi-step form wizard pages. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  protected | function | Initialize and parse webform elements. | |
| 
            Webform:: | 
                  protected | function | Initialize webform elements into a flatten array. | |
| 
            Webform:: | 
                  protected | function | Initialize elements translation. | |
| 
            Webform:: | 
                  protected | function | Init elements translations before variants are applied. | |
| 
            Webform:: | 
                  public | function | 
            Invoke elements method. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  protected | function | Alter a webform handler when it is invoked. | |
| 
            Webform:: | 
                  public | function | 
            Invoke a handlers method. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the webform archive indicator. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the webform closed status indicator. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the webform confidential indicator. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Required to allow webform which are config entities to have an EntityViewBuilder. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  protected | function | Determine if a webform handler is enabled. | |
| 
            Webform:: | 
                  public | function | 
            Returns the webform opened status indicator. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determines if the webform is currently closed but scheduled to open. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the webform override status. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if the saving of submissions is disabled. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the webform scheduled status indicator. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the webform template indicator. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Determine if the webform is being tested. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns the webform updating status. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Overriding so that links to webform default to 'canonical' submission
webform and not the back-end 'edit-form'. Overrides ConfigEntityBase:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Informs the entity that entities it depends on will be deleted. Overrides ConfigEntityBase:: | 
                  |
| 
            Webform:: | 
                  public static | function | 
            Acts on loaded entities. Overrides EntityBase:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Acts on a saved entity before the insert or update hook is invoked. Overrides ConfigEntityBundleBase:: | 
                  |
| 
            Webform:: | 
                  public static | function | 
            Changes the values of an entity before it is created. Overrides EntityBase:: | 
                  |
| 
            Webform:: | 
                  public static | function | 
            Acts on entities before they are deleted and before hooks are invoked. Overrides ConfigEntityBase:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Acts on an entity before the presave hook is invoked. Overrides ConfigEntityBundleBase:: | 
                  |
| 
            Webform:: | 
                  protected | function | Reset parsed and cached webform elements. | |
| 
            Webform:: | 
                  protected | function | Reset cached handler settings. | |
| 
            Webform:: | 
                  public | function | 
            Reset overridden settings to original settings. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Sets the webform access rules. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Sets the webform's CSS. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Sets a webform's description. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Set element properties. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  protected | function | Set element properties. | |
| 
            Webform:: | 
                  public | function | 
            Sets elements (YAML) value. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Sets the webform's JavaScript. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Sets the webform's current operation . Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Sets the webform settings and properties override state. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Sets the entity owner's user entity. Overrides EntityOwnerInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Sets the entity owner's user ID. Overrides EntityOwnerInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Sets the value of an overridden property. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Sets a webform setting for a given key. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Sets a webform setting override for a given key. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Sets the webform settings. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Sets the webform settings override. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Saves a value for a given key in the webform's state. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Sets the status of the configuration entity. Overrides ConfigEntityBase:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Sets the webform updating state. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Saves a value for a given key in the webform's user data. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public static | function | 
            Helper callback for uasort() to sort configuration entities by weight and label. Overrides ConfigEntityBase:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Returns whether the configuration entity is enabled. Overrides ConfigEntityBase:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Overriding so that links to webform default to 'canonical' submission
webform and not the back-end 'edit-form'. Overrides EntityBase:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Overriding so that URLs pointing to webform default to 'canonical'
submission webform and not the back-end 'edit-form'. Overrides ConfigEntityBase:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Unsets all third-party settings of a given module. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  protected | function | Saves a path alias to the database. | |
| 
            Webform:: | 
                  public | function | 
            Update submit and confirm paths (i.e. URL aliases) associated with this webform. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Update a webform handler for this webform. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Update a webform variant for this webform. Overrides WebformInterface:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Overriding so that URLs pointing to webform default to 'canonical'
submission webform and not the back-end 'edit-form'. Overrides ConfigEntityBase:: | 
                  |
| 
            Webform:: | 
                  public | function | 
            Overriding so that URLs pointing to webform default to 'canonical'
submission webform and not the back-end 'edit-form'. Overrides ConfigEntityBase:: | 
                  |
| 
            Webform:: | 
                  public | function | Define empty to string method. | |
| 
            WebformInterface:: | 
                  constant | Display standard 403 access denied page. | ||
| 
            WebformInterface:: | 
                  constant | Redirect to user login with custom message. | ||
| 
            WebformInterface:: | 
                  constant | Display customized access denied message. | ||
| 
            WebformInterface:: | 
                  constant | Display customized 403 access denied page. | ||
| 
            WebformInterface:: | 
                  constant | Webform confirmation default. | ||
| 
            WebformInterface:: | 
                  constant | Webform confirmation inline. | ||
| 
            WebformInterface:: | 
                  constant | Webform confirmation message. | ||
| 
            WebformInterface:: | 
                  constant | Webform confirmation modal. | ||
| 
            WebformInterface:: | 
                  constant | Webform confirmation none. | ||
| 
            WebformInterface:: | 
                  constant | Webform confirmation page. | ||
| 
            WebformInterface:: | 
                  constant | Webform confirmation URL. | ||
| 
            WebformInterface:: | 
                  constant | Webform confirmation URL with message. | ||
| 
            WebformInterface:: | 
                  constant | Denote drafts are allowed for authenticated and anonymous users. | ||
| 
            WebformInterface:: | 
                  constant | Denote drafts are allowed for authenticated users only. | ||
| 
            WebformInterface:: | 
                  constant | Denote drafts are not allowed. | ||
| 
            WebformInterface:: | 
                  constant | Wizard confirmation page. | ||
| 
            WebformInterface:: | 
                  constant | Wizard preview page. | ||
| 
            WebformInterface:: | 
                  constant | Wizard start page. | ||
| 
            WebformInterface:: | 
                  constant | Webform status archived. | ||
| 
            WebformInterface:: | 
                  constant | Webform status closed. | ||
| 
            WebformInterface:: | 
                  constant | Webform status open. | ||
| 
            WebformInterface:: | 
                  constant | Webform status scheduled. | ||
| 
            WebformInterface:: | 
                  constant | Source entity title. | ||
| 
            WebformInterface:: | 
                  constant | Both source entity and webform title. | ||
| 
            WebformInterface:: | 
                  constant | Webform title. | ||
| 
            WebformInterface:: | 
                  constant | Both webform and source entity title. | ||
| 
            WebformRevisions:: | 
                  private | property | ||
| 
            WebformRevisions:: | 
                  public | function | 
            Remove an element. Overrides Webform:: | 
                  |
| 
            WebformRevisions:: | 
                  public | function | 
            Get from the configEntity the ID of the matching content entity. Overrides ConfigEntityRevisionsInterface:: | 
                  |
| 
            WebformRevisions:: | 
                  public | function | 
            Get webform submission webform. Overrides Webform:: | 
                  |
| 
            WebformRevisions:: | 
                  public | function | 
            Set in the configEntity an identifier for the matching content entity. Overrides ConfigEntityRevisionsInterface:: | 
                  |
| 
            WebformRevisions:: | 
                  public | function | 
            Constructs an Entity object. Overrides ConfigEntityBase:: | 
                  |
| 
            WebformRevisionsConfigTrait:: | 
                  private | property | ||
| 
            WebformRevisionsConfigTrait:: | 
                  public | function | Get the number of submissions related to a revision. | |
| 
            WebformRevisionsConfigTrait:: | 
                  public | function | Delete submissions related to a revision. | |
| 
            WebformRevisionsConfigTrait:: | 
                  public | function | Get the entity that actually has revisions. |