Commit e2255008 authored by jhodgdon's avatar jhodgdon

Issue #2607332 by r_sharma08, ashhishhh, snehi, pjonckiere, dawehner: Missing...

Issue #2607332 by r_sharma08, ashhishhh, snehi, pjonckiere, dawehner: Missing @return tag in getActiveHelp(), denormalize(), createBookNode()

(cherry picked from commit 0a97f790)
parent e9d9f93d
......@@ -338,6 +338,9 @@ function generateOutlinePattern($nodes) {
* A book node ID or set to 'new' to create a new book.
* @param int|null $parent
* (optional) Parent book reference ID. Defaults to NULL.
*
* @return \Drupal\node\NodeInterface
* The created node.
*/
function createBookNode($book_nid, $parent = NULL) {
// $number does not use drupal_static as it should not be reset
......
......@@ -124,6 +124,9 @@ public function normalize($entity, $format = NULL, array $context = array()) {
* all default values for entity fields before applying $data to the
* entity.
*
* @return \Drupal\Core\Entity\EntityInterface
* An unserialized entity object containing the data in $data.
*
* @throws \Symfony\Component\Serializer\Exception\UnexpectedValueException
*/
public function denormalize($data, $class, $format = NULL, array $context = array()) {
......
......@@ -89,6 +89,9 @@ public static function create(ContainerInterface $container, array $configuratio
*
* @param \Symfony\Component\HttpFoundation\Request $request
* The current request.
*
* @return string
* Help text of the matched route item as HTML.
*/
protected function getActiveHelp(Request $request) {
// Do not show on a 403 or 404 page.
......
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