BrightcoveInlineForm.php in Brightcove Video Connect 3.x
Same filename and directory in other branches
Namespace
Drupal\brightcove\FormFile
src/Form/BrightcoveInlineForm.phpView source
<?php
namespace Drupal\brightcove\Form;
use Drupal\Core\Entity\EntityInterface;
use Drupal\inline_entity_form\Form\EntityInlineForm;
/**
* Extends the inline form to pass along TRUE to the video/playlist save method.
*/
class BrightcoveInlineForm extends EntityInlineForm {
/**
* {@inheritdoc}
*/
public function save(EntityInterface $entity) {
$entity
->save(TRUE);
}
}
Classes
Name![]() |
Description |
---|---|
BrightcoveInlineForm | Extends the inline form to pass along TRUE to the video/playlist save method. |