You are here

public static function EntityUpdatePrint::echoPrint in Entity Update 2.0.x

Print.

Parameters

$text:

4 calls to EntityUpdatePrint::echoPrint()
EntityUpdatePrint::displaySummery in src/EntityUpdatePrint.php
Show the summary of an entity type.
EntityUpdatePrint::drushLog in src/EntityUpdatePrint.php
Check is CLI then run drush_log.
EntityUpdatePrint::drushPrint in src/EntityUpdatePrint.php
Check is CLI then run print.
EntityUpdatePrint::drushPrintTable in src/EntityUpdatePrint.php
Print a table to drush terminal.

File

src/EntityUpdatePrint.php, line 27

Class

EntityUpdatePrint
EntityCheck CLI Print class.

Namespace

Drupal\entity_update

Code

public static function echoPrint($text, $indent = 0, $handle = NULL, $newline = TRUE) {
  if (!self::$echoPrintEnable) {
    return;
  }
  echo "{$text}";
  if ($newline) {
    echo "\n";
  }
}