final class ReplicatorEvents in Replicate 8
Hierarchy
- class \Drupal\replicate\Events\ReplicatorEvents
Expanded class hierarchy of ReplicatorEvents
3 files declare their use of ReplicatorEvents
- ReplicatePathFieldSubscriber.php in src/
EventSubscriber/ ReplicatePathFieldSubscriber.php - Replicator.php in src/
Replicator.php - ReplicatorTest.php in tests/
src/ Unit/ ReplicatorTest.php
File
- src/
Events/ ReplicatorEvents.php, line 5
Namespace
Drupal\replicate\EventsView source
final class ReplicatorEvents {
/**
* @see \Drupal\replicate\Events\AfterSaveEvent
*/
const AFTER_SAVE = 'replicate__after_save';
/**
* @see \Drupal\replicate\Events\ReplicateAlterEvent
*/
const REPLICATE_ALTER = 'replicate__alter';
/**
* @param $entity_type_id
*
* @return string
*/
public static function replicateEntityEvent($entity_type_id) {
return 'replicate__entity__' . $entity_type_id;
}
public static function replicateEntityField($field_type) {
return 'replicate__entity_field__' . $field_type;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ReplicatorEvents:: |
constant | |||
ReplicatorEvents:: |
public static | function | ||
ReplicatorEvents:: |
public static | function | ||
ReplicatorEvents:: |
constant |