Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Diff.php

function Diff::getEdits

Gets the list of differences as an array of diff operations.

Return value

\Drupal\Component\Diff\Engine\DiffOp[] The list of differences as an array of diff operations.

File

core/lib/Drupal/Component/Diff/Diff.php, line 46

Class

Diff
Class representing a 'diff' between two sequences of strings.

Namespace

Drupal\Component\Diff

Code

public function getEdits() {
    return $this->edits;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal