You are here

public function BrightcoveCustomFieldInterface::setRequired in Brightcove Video Connect 8

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

Set the field's required value.

Parameters

bool $required: TRUE if the field needs to be set, FALSE otherwise.

Return value

\Drupal\brightcove\BrightcoveCustomFieldInterface The called Brightcove Custom Field.

1 method overrides BrightcoveCustomFieldInterface::setRequired()
BrightcoveCustomField::setRequired in src/Entity/BrightcoveCustomField.php
Set the field's required value.

File

src/BrightcoveCustomFieldInterface.php, line 65

Class

BrightcoveCustomFieldInterface
Provides an interface defining a Brightcove custom field.

Namespace

Drupal\brightcove

Code

public function setRequired($required);