public function IsExcludedImageStyleTest::onEnqueueCandidateEntityDataProvider in Acquia Lift Connector 8.4
Data provider for testOnEnqueueCandidateEntity.
File
- modules/
acquia_lift_publisher/ tests/ src/ Kernel/ EventSubscriber/ EnqueueEligibility/ IsExcludedImageStyleTest.php, line 139
Class
- IsExcludedImageStyleTest
- Class IsExcludedImageStyleTest.
Namespace
Drupal\Tests\acquia_lift_publisher\Kernel\EventSubscriber\EnqueueEligibilityCode
public function onEnqueueCandidateEntityDataProvider() {
(yield [
'insert',
'node',
TRUE,
]);
(yield [
'insert',
'term',
TRUE,
]);
(yield [
'insert',
'eligible_image_style',
TRUE,
]);
(yield [
'insert',
'not_eligible_image_style',
FALSE,
]);
(yield [
'update',
'node',
TRUE,
]);
(yield [
'update',
'term',
TRUE,
]);
(yield [
'update',
'not_eligible_image_style',
FALSE,
]);
(yield [
'update',
'eligible_image_style',
TRUE,
]);
}