You are here

public function WebformSubmissionInterface::isOwner in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformSubmissionInterface.php \Drupal\webform\WebformSubmissionInterface::isOwner()

Test whether the provided account is owner of this webform submission.

Parameters

\Drupal\Core\Session\AccountInterface $account: Account whose ownership to test.

Return value

bool Whether the provided account is owner of this webform submission.

1 method overrides WebformSubmissionInterface::isOwner()
WebformSubmission::isOwner in src/Entity/WebformSubmission.php
Test whether the provided account is owner of this webform submission.

File

src/WebformSubmissionInterface.php, line 280

Class

WebformSubmissionInterface
Provides an interface defining a webform submission entity.

Namespace

Drupal\webform

Code

public function isOwner(AccountInterface $account);