Action
abstract class Action implements ActionInterface
Content type action abstract class
Properties
protected string | $name | Action name | |
protected string | $actionType | Action type | |
protected string|null | $title | Action title |
Methods
__construct(string|null $name = null, string|null $actionType = null, string|null $title = null)
Constructor
void
init()
Init action
mixed
string
getName()
Get name
string|null
getTitle()
Get title
string
getType()
Get type
string
getClass()
Get class
void
setTitle(string $title)
Set title
void
setType(string $actionType)
Set type
void
setName(string $name)
Set name
Details
at line 50
__construct(string|null $name = null, string|null $actionType = null, string|null $title = null)
Constructor
at line 67
abstract void
init()
Init action
at line 76
abstract mixed
execute(ContentItemInterface $content, array|null $options = [])
Execute action
at line 83
string
getName()
Get name
at line 93
string|null
getTitle()
Get title
at line 103
string
getType()
Get type
at line 113
string
getClass()
Get class
at line 124
void
setTitle(string $title)
Set title
at line 135
protected void
setType(string $actionType)
Set type
at line 146
protected void
setName(string $name)
Set name