You are here

public function DataPolicyInterface::setName in Data Policy 8

Sets the Data policy name.

Parameters

string $name: The Data policy name.

Return value

\Drupal\data_policy\Entity\DataPolicyInterface The called Data policy entity.

1 method overrides DataPolicyInterface::setName()
DataPolicy::setName in src/Entity/DataPolicy.php
Sets the Data policy name.

File

src/Entity/DataPolicyInterface.php, line 34

Class

DataPolicyInterface
Provides an interface for defining Data policy entities.

Namespace

Drupal\data_policy\Entity

Code

public function setName($name);