Метод isApplicable
Сигнатура метода
public function isApplicable(PipelineContext $context): bool
Возвращает:
bool
Описание
An add takes an activity belonging to the provider of an email, whatever its type of provider says: legacy asks the one column here and the pair of them only below the write, when it binds the body. An update takes a letter that already is a preview of a body stored apart, and only where the caller gave a description at all - there is nothing to compress and nothing to compare in an update that says nothing about the text.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$context
|
PipelineContext
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Activity/Pipeline/Step/Shared/CompressEmailDescription.php
Расположение метода в файле
Строки
89–99