You are here

protected function ParagraphsMigrateParagraphsFieldHandler::notNull in Paragraphs 7

Returns TRUE only for values which are not NULL.

Parameters

$value:

Return value

bool

Overrides MigrateSimpleFieldHandler::notNull

File

migrate/fields/ParagraphsMigrateParagraphsFieldHandler.inc, line 31

Class

ParagraphsMigrateParagraphsFieldHandler
Provides migrate field handler for paragraphs field.

Code

protected function notNull($value) {
  return !is_null($value) && $value !== FALSE;
}