You are here

public function OpenApiTestEntityInterface::setName in OpenAPI 8

Same name and namespace in other branches
  1. 8.2 tests/modules/openapi_test/src/Entity/OpenApiTestEntityInterface.php \Drupal\openapi_test\Entity\OpenApiTestEntityInterface::setName()

Sets the OpenApi Test Entity name.

Parameters

string $name: The OpenApi Test Entity name.

Return value

\Drupal\openapi_test\Entity\OpenApiTestEntityInterface The called OpenApi Test Entity entity.

1 method overrides OpenApiTestEntityInterface::setName()
OpenApiTestEntity::setName in tests/modules/openapi_test/src/Entity/OpenApiTestEntity.php
Sets the OpenApi Test Entity name.

File

tests/modules/openapi_test/src/Entity/OpenApiTestEntityInterface.php, line 31

Class

OpenApiTestEntityInterface
Provides an interface for defining OpenApi Test Entity entities.

Namespace

Drupal\openapi_test\Entity

Code

public function setName($name);