projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
vendor
/
drush
/
drush
/
tests
/
resources
/
create_unish_articles.php
diff --git a/vendor/drush/drush/tests/resources/create_unish_articles.php
b/vendor/drush/drush/tests/resources/create_unish_articles.php
new file mode 100644
(file)
index 0000000..
de29bac
--- /dev/null
+++ b/
vendor/drush/drush/tests/resources/create_unish_articles.php
@@ -0,0
+1,8
@@
+<?php
+
+use Drupal\unish_article\Entity\UnishArticle;
+
+$article = UnishArticle::create();
+$article->setOwnerId(2);
+$article->setTitle('Unish wins.');
+$article->save();