You are here

public function BrightcoveSubscriptionInterface::isNew in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 src/Entity/BrightcoveSubscriptionInterface.php \Drupal\brightcove\Entity\BrightcoveSubscriptionInterface::isNew()
  2. 3.x src/Entity/BrightcoveSubscriptionInterface.php \Drupal\brightcove\Entity\BrightcoveSubscriptionInterface::isNew()

Determines whether an entity is new or not.

Return value

bool If the entity doesn't have an ID then it will be treated as new, so TRUE will be return, otherwise FALSE will be return if it's an already existing entity.

1 method overrides BrightcoveSubscriptionInterface::isNew()
BrightcoveSubscription::isNew in src/Entity/BrightcoveSubscription.php
Determines whether an entity is new or not.

File

src/Entity/BrightcoveSubscriptionInterface.php, line 34

Class

BrightcoveSubscriptionInterface
Provides an interface for defining Brightcove Subscription entities.

Namespace

Drupal\brightcove\Entity

Code

public function isNew();