function DiffOp::norig

Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/Diff/Engine/DiffOp.php \Drupal\Component\Diff\Engine\DiffOp::norig()
  2. 10 core/lib/Drupal/Component/Diff/Engine/DiffOp.php \Drupal\Component\Diff\Engine\DiffOp::norig()

File

core/lib/Drupal/Component/Diff/Engine/DiffOp.php, line 19

Class

DiffOp
@todo document @private @subpackage DifferenceEngine

Namespace

Drupal\Component\Diff\Engine

Code

public function norig() {
    return $this->orig ? sizeof($this->orig) : 0;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.