You are here

public function CerProfile2Field::getTargetType in Corresponding Entity References 7.3

Implements CerField::getTargetType().

Overrides CerField::getTargetType

File

extensions/cer_profile2/profile2.inc, line 40
Contains a CER field plugin for referencing Profile2 entities. These references are not actually fields at all, so this plugin is really more of a bridge to trick CER into thinking that Profile2 is a reference field.

Class

CerProfile2Field
@file Contains a CER field plugin for referencing Profile2 entities. These references are not actually fields at all, so this plugin is really more of a bridge to trick CER into thinking that Profile2 is a reference field.

Code

public function getTargetType() {

  // In effect, this "field" will "point to" Profile2 entities.
  return 'profile2';
}