comparison core/modules/field_ui/src/Tests/ManageDisplayTest.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children 129ea1e6d783
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
450 } 450 }
451 451
452 /** 452 /**
453 * Asserts that a string is found in the rendered node in a view mode. 453 * Asserts that a string is found in the rendered node in a view mode.
454 * 454 *
455 * @param EntityInterface $node 455 * @param \Drupal\Core\Entity\EntityInterface $node
456 * The node. 456 * The node.
457 * @param $view_mode 457 * @param $view_mode
458 * The view mode in which the node should be displayed. 458 * The view mode in which the node should be displayed.
459 * @param $text 459 * @param $text
460 * Plain text to look for. 460 * Plain text to look for.
469 } 469 }
470 470
471 /** 471 /**
472 * Asserts that a string is not found in the rendered node in a view mode. 472 * Asserts that a string is not found in the rendered node in a view mode.
473 * 473 *
474 * @param EntityInterface $node 474 * @param \Drupal\Core\Entity\EntityInterface $node
475 * The node. 475 * The node.
476 * @param $view_mode 476 * @param $view_mode
477 * The view mode in which the node should be displayed. 477 * The view mode in which the node should be displayed.
478 * @param $text 478 * @param $text
479 * Plain text to look for. 479 * Plain text to look for.
490 * Asserts that a string is (not) found in the rendered nodein a view mode. 490 * Asserts that a string is (not) found in the rendered nodein a view mode.
491 * 491 *
492 * This helper function is used by assertNodeViewText() and 492 * This helper function is used by assertNodeViewText() and
493 * assertNodeViewNoText(). 493 * assertNodeViewNoText().
494 * 494 *
495 * @param EntityInterface $node 495 * @param \Drupal\Core\Entity\EntityInterface $node
496 * The node. 496 * The node.
497 * @param $view_mode 497 * @param $view_mode
498 * The view mode in which the node should be displayed. 498 * The view mode in which the node should be displayed.
499 * @param $text 499 * @param $text
500 * Plain text to look for. 500 * Plain text to look for.