mirrored from http://git.drupal.org/project/drupal.git
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SA-CORE-2017-004 by arshadcn, amateescu, Wim Leers, Berdir, Lendude, …
…dawehner, klausi, pwolanin, xjm, mpdonadio, mlhess, larowlan, milesw (cherry picked from commit 65cef2e)
- Loading branch information
Showing
10 changed files
with
238 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
core/modules/system/tests/modules/entity_test/src/Entity/EntityTestNoUuid.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
namespace Drupal\entity_test\Entity; | ||
|
||
/** | ||
* Test entity class with revisions but without UUIDs. | ||
* | ||
* @ContentEntityType( | ||
* id = "entity_test_no_uuid", | ||
* label = @Translation("Test entity without UUID"), | ||
* handlers = { | ||
* "access" = "Drupal\entity_test\EntityTestAccessControlHandler", | ||
* }, | ||
* base_table = "entity_test_no_uuid", | ||
* revision_table = "entity_test_no_uuid_revision", | ||
* admin_permission = "administer entity_test content", | ||
* persistent_cache = FALSE, | ||
* entity_keys = { | ||
* "id" = "id", | ||
* "revision" = "vid", | ||
* "bundle" = "type", | ||
* "label" = "name", | ||
* "langcode" = "langcode", | ||
* }, | ||
* ) | ||
*/ | ||
class EntityTestNoUuid extends EntityTest { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.