public function ReplicationFilterInterface::filter in Replication 8.2
Same name and namespace in other branches
- 8 src/Plugin/ReplicationFilterInterface.php \Drupal\replication\Plugin\ReplicationFilterInterface::filter()
Filter the given entity.
Parameters
EntityInterface $entity: The entity to filter.
Return value
bool Return TRUE if it should be included, else FALSE.
3 methods override ReplicationFilterInterface::filter()
- EntityTypeFilter::filter in src/
Plugin/ ReplicationFilter/ EntityTypeFilter.php - Filter the given entity.
- PublishedFilter::filter in src/
Plugin/ ReplicationFilter/ PublishedFilter.php - Filter the given entity.
- UuidFilter::filter in src/
Plugin/ ReplicationFilter/ UuidFilter.php - Filter the given entity.
File
- src/
Plugin/ ReplicationFilterInterface.php, line 40
Class
- ReplicationFilterInterface
- Defines a replication filter.
Namespace
Drupal\replication\PluginCode
public function filter(EntityInterface $entity);