You are here

protected function MigrateSimpleFieldHandler::notNull in Migrate 7.2

Same name and namespace in other branches
  1. 6.2 plugins/destinations/fields.inc \MigrateSimpleFieldHandler::notNull()

Returns TRUE only for values which are not NULL.

Parameters

$value:

Return value

bool

2 methods override MigrateSimpleFieldHandler::notNull()
MigrateNodeReferenceFieldHandler::notNull in plugins/destinations/fields.inc
Returns TRUE only for values which are not NULL.
MigrateUserReferenceFieldHandler::notNull in plugins/destinations/fields.inc
Returns TRUE only for values which are not NULL.

File

plugins/destinations/fields.inc, line 311
Support for processing entity fields

Class

MigrateSimpleFieldHandler
Base class for creating field handlers for fields with a single value.

Code

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