You are here

public function SchedulerPluginBase::entityType in Scheduler 2.x

Get the type of entity supported by this plugin.

Return value

string The name of the entity type.

Overrides SchedulerPluginInterface::entityType

3 calls to SchedulerPluginBase::entityType()
SchedulerPluginBase::publishAction in src/SchedulerPluginBase.php
Get the publish action name of the entity type.
SchedulerPluginBase::schedulerEventClass in src/SchedulerPluginBase.php
Get the Scheduler event class.
SchedulerPluginBase::unpublishAction in src/SchedulerPluginBase.php
Get the unpublish action name of the entity type.

File

src/SchedulerPluginBase.php, line 50

Class

SchedulerPluginBase
Base class for scheduler plugins.

Namespace

Drupal\scheduler

Code

public function entityType() {
  return $this->pluginDefinition['entityType'];
}