You are here

public function Idp::__construct in SAML Service Provider 4.x

Same name and namespace in other branches
  1. 8.3 src/Entity/Idp.php \Drupal\saml_sp\Entity\Idp::__construct()
  2. 8.2 src/Entity/Idp.php \Drupal\saml_sp\Entity\Idp::__construct()
  3. 3.x src/Entity/Idp.php \Drupal\saml_sp\Entity\Idp::__construct()

Constructs an Entity object.

Parameters

array $values: An array of values to set, keyed by property name. If the entity type has bundles, the bundle key has to be specified.

string $entity_type: The type of the entity to create.

Overrides ConfigEntityBase::__construct

File

src/Entity/Idp.php, line 114

Class

Idp
Defines the Idp entity.

Namespace

Drupal\saml_sp\Entity

Code

public function __construct(array $values = [], $entity_type = 'idp') {
  return parent::__construct($values, $entity_type);
}