LegacyData
class LegacyData (View source)
The LegacyData class handles the conversion of legacy block data.
Properties
private | $data | The actual data object that has to be tested and converted. | |
private | $targetVersion | The target version that has to be supported. |
Methods
__construct(object $data)
The legacy data converter constructor.
object
convert()
Convert legacy data such as layout information.
object
convertLayout(object $data)
Convert legacy layout properties to new tune api.
object
convertLists(object $data)
Convert legacy lists to new nested lists.
Details
at line 64
__construct(object $data)
The legacy data converter constructor.
at line 73
object
convert()
Convert legacy data such as layout information.
at line 99
private object
convertLayout(object $data)
Convert legacy layout properties to new tune api.
at line 123
private object
convertLists(object $data)
Convert legacy lists to new nested lists.