ExternalTransformationsPlugin
abstract class ExternalTransformationsPlugin extends TransformationsPlugin (View source)
Provides common methods for all of the external transformations plugins.
Methods
bool
applyTransformationNoWrap(array $options = [])
Enables no-wrapping
array
getOptions(array $options, array $defaults)
Returns passed options or default values if they were not set
static string
getInfo()
Gets the transformation description of the specific plugin
string
applyTransformation(string $buffer, array $options = [], FieldMetadata|null $meta = null)
Does the actual work of each specific transformations plugin.
static string
getName()
Gets the transformation name of the specific plugin
Details
bool
applyTransformationNoWrap(array $options = [])
Enables no-wrapping
array
getOptions(array $options, array $defaults)
Returns passed options or default values if they were not set
static string
getInfo()
Gets the transformation description of the specific plugin
string
applyTransformation(string $buffer, array $options = [], FieldMetadata|null $meta = null)
Does the actual work of each specific transformations plugin.
static string
getName()
Gets the transformation name of the specific plugin