Commit 30c5c2da authored by catch's avatar catch

Issue #2627038 by ashhishhh, jordanpagewhite, snehi, Manjit.Singh, jhodgdon,...

Issue #2627038 by ashhishhh, jordanpagewhite, snehi, Manjit.Singh, jhodgdon, sudhanshug: Fix docblock for createTerm in TaxonomyTestBase.php
parent 5a25b3fb
......@@ -55,6 +55,9 @@
*/
protected $term2;
/**
* {@inheritdoc}
*/
protected function setUp() {
parent::setUp();
$this->mockStandardInstall();
......@@ -119,10 +122,17 @@ protected function mockStandardInstall() {
}
/**
* Returns a new term with random properties in vocabulary $vid.
* Creates and returns a taxonomy term.
*
* @param array $settings
* (Optional) An associative array of settings to pass to `entity_create`.
* (optional) An array of values to override the following default
* properties of the term:
* - name: A random string.
* - description: A random string.
* - format: First available text format.
* - vid: Vocabulary ID of self::$vocabulary object.
* - langcode: LANGCODE_NOT_SPECIFIED.
* Defaults to an empty array.
*
* @return \Drupal\taxonomy\Entity\Term
* The created taxonomy term.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment