PHP Class Craft\Neo_RelabelService

See also: https://github.com/benjamminf/craft-relabel
Inheritance: extends craft\BaseApplicationComponent
Datei anzeigen Open project: benjamminf/craft-neo

Public Methods

Method Description
onSaveFieldLayout ( craft\Event $e ) Saves Neo block type relabels from it's post data.
pluginInit ( ) Separate initialisation function to be called inside the NeoPlugin init method.
saveLabel ( RelabelModel $label ) Saves the relabels for a field.

Method Details

onSaveFieldLayout() public method

Saves Neo block type relabels from it's post data.
public onSaveFieldLayout ( craft\Event $e )
$e craft\Event

pluginInit() public method

Separate initialisation function to be called inside the NeoPlugin init method.
public pluginInit ( )

saveLabel() public method

Serves as a wrapper for RelabelService::saveLabel, which requires Relabel to exist first.
public saveLabel ( RelabelModel $label )
$label RelabelModel