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

Breadcrumb

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

function AbstractOperation::contents

Overrides OperationInterface::contents

2 calls to AbstractOperation::contents()
AppendOp::process in composer/Plugin/Scaffold/Operations/AppendOp.php
Process this scaffold operation.
ReplaceOp::copyScaffold in composer/Plugin/Scaffold/Operations/ReplaceOp.php
Copies the scaffold file.

File

composer/Plugin/Scaffold/Operations/AbstractOperation.php, line 24

Class

AbstractOperation
Provides default behaviors for operations.

Namespace

Drupal\Composer\Plugin\Scaffold\Operations

Code

public final function contents() {
    if (!isset($this->contents)) {
        $this->contents = $this->generateContents();
    }
    return $this->contents;
}

API Navigation

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