PHP Class Neos\ContentRepository\Migration\Transformations\StripTagsOnProperty

Inheritance: extends AbstractTransformation
Mostra file Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$propertyName string Property name to change

Public Methods

Method Description
execute ( NodeData $node ) : void Strips tags on the value of the property to work on.
isTransformable ( NodeData $node ) : boolean Returns TRUE if the given node has the property to work on.
setProperty ( string $propertyName ) : void Sets the name of the property to work on.

Method Details

execute() public method

Strips tags on the value of the property to work on.
public execute ( NodeData $node ) : void
$node Neos\ContentRepository\Domain\Model\NodeData
return void

isTransformable() public method

Returns TRUE if the given node has the property to work on.
public isTransformable ( NodeData $node ) : boolean
$node Neos\ContentRepository\Domain\Model\NodeData
return boolean

setProperty() public method

Sets the name of the property to work on.
public setProperty ( string $propertyName ) : void
$propertyName string
return void

Property Details

$propertyName protected_oe property

Property name to change
protected string $propertyName
return string