You are here

public function PaymentListBuilder::restrictByOwnerId in Payment 8.2

Restricts the displayed payments by owner ID.

Parameters

int $owner_id:

Return value

$this

Overrides PaymentListBuilderInterface::restrictByOwnerId

File

src/Entity/Payment/PaymentListBuilder.php, line 83

Class

PaymentListBuilder
Lists payment entities.

Namespace

Drupal\payment\Entity\Payment

Code

public function restrictByOwnerId($owner_id) {
  $this->ownerId = $owner_id;
  return $this;
}