From e8771b8adf880cdb59f1c4ddcbb31f68aaceda4e Mon Sep 17 00:00:00 2001 From: Tony Air Date: Mon, 22 Apr 2024 14:08:10 +0200 Subject: [PATCH] RM: EmbedObjectField --- src/Extensions/EmbedObjectField.php | 59 ----------------------------- 1 file changed, 59 deletions(-) delete mode 100755 src/Extensions/EmbedObjectField.php diff --git a/src/Extensions/EmbedObjectField.php b/src/Extensions/EmbedObjectField.php deleted file mode 100755 index b1d5196..0000000 --- a/src/Extensions/EmbedObjectField.php +++ /dev/null @@ -1,59 +0,0 @@ -getName(); - $fields = [ - CheckboxField::create( - $name . '[autoplay]', - _t(self::class.'AUTOPLAY', 'Autoplay video?') - )->setValue($this->object->getField('Autoplay')), - - CheckboxField::create( - $name . '[loop]', - _t(self::class.'LOOP', 'Loop video?') - )->setValue($this->object->getField('Loop')), - - CheckboxField::create( - $name.'[controls]', - _t(self::class.'CONTROLS', 'Show player controls?') - )->setValue($this->object->getField('Controls')) - ]; - - return CompositeField::create(array_merge([ - LiteralField::create( - $name.'Options', - parent::FieldHolder($properties) - ) - ], $fields)); - } -}